
Next, verify that you can run containers. You can also try to deconflict the networks (see solutions or ). You may reconnect the VPN immediately afterwards. If this is the case, try disconnecting the VPN before starting the docker service. Note that starting the docker service may fail if you have an active VPN connection due to IP conflicts between the VPN and Docker's bridge and overlay networks. Next enable/start rvice and verify operation: Install the docker package or, for the development version, the docker-git AUR package. The Docker Engine includes a daemon to manage the containers, as well as the docker CLI frontend. To pull Docker images and run Docker containers, you need the Docker Engine. :~$ sudo apt install -y docker-ce docker-ce-cli containerd.Docker is a utility to pack, ship and run any application as a lightweight container. Install the latest version of docker-ce: :~$ sudo apt update Sudo gpg -dearmor -o /etc/apt//docker-ce-archive-keyring.gpg 2021), its “bullseye”: :~$ printf '%s\n' "deb bullseye stable" | One thing to bear in mind, Kali Linux is based on Debian, so we need to use Debian’s current stable version (even though Kali Linux is a rolling distribution). Installing docker-ce on Kali Linuxĭocker-ce can be installed from Docker repository. If you would like to use a Kali Docker image, we have a doc page for that here. The final thing is to logout and in again.

If you want to add yourself to the docker group to use docker without sudo, an additional step is needed: :~$ sudo usermod -aG docker $USER You can now get started with using docker, with sudo. All commands are the same however, so running docker on the command line will be the appropriate command: :~$ sudo apt update The version we will be installing is named docker.io.

If you install docker you will not end up with the container version. To install Docker on Kali you need to remember that there is already a package named “docker”, therefore Docker has to be installed under a different name.
