How to Install Docker on Ubuntu 19.04 “Disco”

39

So my options were:

  1. Just use the distro provided package of Docker. It’s old, Docker v18.09.
  2. Use the Snap package. It’s even older at v18.06.
  3. Install the testing version of Docker at v19.03.0-beta5. This is what I’ll do below.
Docker on Ubuntu
Docker on Ubuntu

Here’s how to install Docker on Ubuntu 19.04 (as of June 1st, 2019):

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable test"
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io
sudo adduser $(whoami) docker  

Once Docker builds a package for Ubuntu 19.04, we won’t have to install the testing/beta anymore. Until then, this is how to get Docker installed.

How To Install Docker Compose on Ubuntu 19.04

Comments are closed, but trackbacks and pingbacks are open.