Docker image for Web Safety

It is possible to use Web Safety ICAP web filter for Squid from within Docker. This experimental version contains the following features:

  • Squid version 4.4 compiled with SSL Bump support
  • Apache, Web Safety and Squid are deployed in the same container

In order to use Web Safety, please use the following instructions:

  • Install Docker for your platform, for instructions please see
  • Type command docker search diladele. You should see the following image diladele/websafety
  • Start a container with the following commands.
docker run -it --name websafety-config \
    diladele/websafety:7.0 \

docker run -dt --name websafety --dns= \
    --volumes-from websafety-config \
    -p 8000:80 -p 3128:3128 diladele/websafety:7.0

This command will download the image, create websafety containers, open port 8000 for Web Safety Admin UI and port 3128 for Squid.

Now you can connect with your browser to the box IP address or domain name on port 8000 and manage your deployment. For filtering, the clients should connect to port 3128.

To get the status of the container please use docker ps, for stopping of container – docker stop websafety. To remove the container – docker rm websafety.

The development of the project is done in


Please be aware, this is an experimental image.