-
Notifications
You must be signed in to change notification settings - Fork 12
Install Docker Linux
Kim Schlesinger edited this page Jul 17, 2018
·
4 revisions
From Get Docker CE for Debian and LinuxAcademy's Docker Certified Associate Prep Course
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/debian \ $(lsb_release -cs) \ stable"
sudo apt-get update
sudo apt-get install docker-ce
Is Docker Running?
systemctl status docker
- Create the Docker Group
sudo groupadd docker
- Add your user to the docker group
sudo usermod -aG docker $USER
- Log out and back in, then check that docker commands work without
sudo
docker run hello-world