Also, there is an older version of the tool included in Kali package repositories, with Docker you can try new versions of existing tools without any library version conflicts etc. Install the latest version of docker-ce: :~$ sudo apt update :~$ sudo apt install -y docker-ce docker-ce-cli containerd.I’m no Docker expert by any means, so if you’ve used Docker on Kali, feel free to share what you liked about it. Import the gpg key: :~$ curl -fsSL | sudo gpg -dearmor -o /etc/apt//docker-ce-archive-keyring.gpg 2021), its “bullseye”: :~$ printf '%s\n' "deb bullseye stable" | sudo tee /etc/apt//docker-ce.list 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. :~$ sudo apt update :~$ :~$ sudo apt install -y docker.io :~$ :~$ sudo systemctl enable docker -now :~$ :~$ docker :~$ All commands are the same however, so running docker on the command line will be the appropriate command. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |