DEV Community

Discussion on: Docker Environment Setup

Collapse
 
peter279k profile image
peter279k • Edited

Some steps about installing docker are missed.

After running curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg command, it should run echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
and sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io to complete Docker installation.

More details about above Docker installation is available on official Docker doc.

Collapse
 
peter279k profile image
peter279k

Or you can also check my docker_installer.sh shell script to complete Docker installation on Ubuntu 18.04 conveniently :).

Collapse
 
dporwal profile image
Deepak Porwal

Thanks @peter279k , Going to update this.