Public | Automated Build

Last pushed: 8 months ago
Short Description
Diladele Web Safety 5.0 in Docker with Squid 3.5.23
Full Description

Diladele Web Safety 5.0 in Docker with Squid 3.5.23

This project provides a full Docker image for Diladele Web Safety, including Squid with SSL support(version 3.5.23) and Apache.

Diladele Web Safety for Squid Proxy is the ICAP web filtering server that provides rich content and web filtering functionality to sanitize Internet traffic passing into an internal home/enterprise network. It may be used to block illegal or potentially malicious file downloads, remove annoying advertisements, prevent access to various categories of web sites and block resources with explicit content. The application is easily deployed and managed, requires minimal external dependencies, very robust and runs with the excellent performance.

It supports all major Linux distributions (Ubuntu, RedHat, Debian, CentOS), FreeBSD (pfSense) and Raspberry PI (2). With the latest release of Docker it can also run on Windows 10 Professional.

There were a lot of breaking changes in 5.0 compared to 4.X versions. If you run Web Safety on real hardware it is recommended to completely rebuild the proxy box from scratch. See Version History for more information!

Check the upgrade documentation for more informaion about the changes and hints at a potential upgrade path from the 4.x docker image.

Running the image from Docker Hub

Please install docker from

If you had the image already deployed please see how you can clean before updating to the newest version.

In order to run the product please execute the following commands:

    docker run -it --name websafety-config diladele/websafety /usr/local/bin/
    docker run -dt --name websafety --dns= --volumes-from websafety-config -p 8000:80 -p 3128:3128 diladele/websafety

After executing these commands, you can connect to the Web UI typing http://localhost:8000 in your browser.

The Squid is listening on port 3128.

To stop the container, please run:

docker stop websafety

To start the container again, please run:

docker start websafety

The full tutorial can be found here.

Removing existing images and containers

In order to remove the previous version of websafety, please perform the following steps:

  • stop running container with the following command:

    docker stop websafety
  • remove data and runtime containers:

    docker rm websafety 
    docker rm websafety-config
  • remove outdatad image (optional):

    docker rmi diladele/websafety

    See how you can install the new version.

Building the image on your machine

Please install docker from
After cloning the project, build it with


Run the container with


Stop with

docker stop websafety

Start again with

docker start websafety


The docker image comes with a pre-installed license. If it expires, please request the license at


In case of any questions, please contact



Our big thanks go to Ian Bashford for his invaluable contributions. Also a lot of thanks to Johann Richard for moving to version 5.0.

Docker Pull Command
Source Repository