When I follow https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-22-04 until
sudo apt install docker-ce
it fails because it has no candidate
root@ubuntu-xwiki:~# apt-cache policy docker-ce
docker-ce:
Installed: (none)
Candidate: (none)
Version table:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
In addition to what has already been mentioned, alternatively, you could use the Docker convenience installation script by running the following:
Hope that this helps.
Best,
Bobby
Hi @helgeaasen,
before you try and install docker, you’ll fist need to do a few quick steps:
The above commands are always mandatory before any installation. Next would be the required dependencies:
Once that’s done, you’ll need to add the repository from which you’ll be installing docker
Once that’s done, execute the following to add it to your Ubuntu’s repository list:
Do an
just in case and then you should be good to go on the docker installation: