I noticed that the version of Docker that I am running a little behind the current stable version. I am thinking it is time to update.
After reading the 'Install Docker Engine on Ubuntu' page, I needed to make a few changes to my system.
My first step was to remove the source 'https://download.docker.com/linux/ubuntu disco stable' from sources. It was simple to follow the steps.
Ran the following commands
- sudo apt-get remove docker docker-engine docker.io containerd runc
- This made sure that any older versions were removed from my computer.
- sudo apt-get update
- sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common - This allows apt to use a repository over HTTPS
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- Added the Docker's GPG key
- sudo apt-key fingerprint 0EBFCD88
- Verifies that I have key with the correct fingerprint
- sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable" - setup a the stable repository
- sudo apt-get update
- sudo apt-get install docker-ce docker-ce-cli containerd.io
- installed the latest version of Docker Engine and containerd
No comments:
Post a Comment