How to Install Docker Engine – Community on CentOS 8

Begin by installing Docker Engine – Community 3:18.09.1-3.el7

  1. sudo dnf install docker-ce-3:18.09.1-3.el7

Start Docker

  1. sudo systemctl enable –now docker
  2. docker –version

Add your account to the Docker user group

  1. sudo usermod –aG docker $USER
  2. logout/login

Install the containerd package

  1. sudo dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm

Now install the latest version of docker-ce

  1. sudo dnf install docker-ce
  2. docker –version

Reference

  1. A better way to install Docker on CentOS 8: https://www.youtube.com/watch?time_continue=5&v=fVCBEpTaTmA&feature=emb_logo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

How to Install Docker Engine – Community on CentOS 8

Begin by installing Docker Engine – Community 3:18.09.1-3.el7

  1. sudo dnf install docker-ce-3:18.09.1-3.el7

Start Docker

  1. sudo systemctl enable –now docker
  2. docker –version

Add your account to the Docker user group

  1. sudo usermod –aG docker $USER
  2. logout/login

Install the containerd package

  1. sudo dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm

Now install the latest version of docker-ce

  1. sudo dnf install docker-ce
  2. docker –version

Reference

  1. A better way to install Docker on CentOS 8: https://www.youtube.com/watch?time_continue=5&v=fVCBEpTaTmA&feature=emb_logo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s