Setup Docker in Ubuntu

Docker is an open-source project for automating the deployment software in packages called containers.

Docker can be installed from Ubuntu's default repositories. Open a Terminal window by typing ctrl-alt-t keys in ubuntu. Then type the following commands.

sudo apt update

You will be prompted for your password.

sudo apt install docker.io

Press Y if prompted.

To verify the version of Docker, run:

docker --version

To start and enable the Docker service, run:

sudo systemctl enable docker --now

To verify service, run:

sudo systemctl status docker
Was this helpful?
0 reviews