May 12, 2019 | In: Programovanie

Installing docker on Ubuntu 19.04 (disco)

At the time of writing, docker does not have repository for disco (ubuntu 19.04), so we have to use the previous version (18.04 – bionic).

You will do all the steps as mentioned in the official docker doc: https://docs.docker.com/install/linux/docker-ce/ubuntu/ except you will change the repo command from:

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"

to:

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   bionic \
   test"

And that’s really it. You can now install docker with all the tools:

$ sudo apt-get install docker-ce docker-ce-cli containerd.io

Share This:

Comments are closed.