Guide To Install Docker On Ubuntu, Linux Via Command Line

in docker •  2 years ago 

Subscribe To My Channel For More Videos: https://www.youtube.com/nordconnect

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. If you install docker you will not end up with the container version. The version we will be installing is named docker.io. All commands are the same however, so running docker on the command line will be the appropriate command.
#docker
#web
#hacker

sudo apt update
sudo apt install -y docker.io
sudo systemctl enable docker --now
sudo usermod -aG docker $USER

printf '%s\n' "deb https://download.docker.com/linux/debian bullseye stable"
sudo tee /etc/apt/sources.list.d/docker-ce.list

curl -fsSL https://download.docker.com/linux/debian/gpg |
sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker-ce-archive-keyring.gpg

sudo apt install -y docker-ce docker-ce-cli containerd.io

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!