Package 'docker-ce' has no installation candidate and Unable to locate package Ubuntu 23.10 mantic

After doing:
sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Response:

  • E: Package ‘docker-ce’ has no installation candidate
  • E: Unable to locate package docker-ce-cli
  • E: Unable to locate package docker-buildx-plugin
  • E: Unable to locate package docker-compose-plugin

System info:

  • Raspberry pi 4
  • No LSB modules are available.
  • Distributor ID: Ubuntu
  • Description: Ubuntu 23.10
  • Release: 23.10
  • Codename: mantic

I did go though installing the repository but noting works.

Did you try the convenience script? (Doc)

You could try if, using the lunar repo does the trick.

Never mind, it seems the documentation is outdated, as a mirror for mantic exists: https://download.docker.com/linux/ubuntu/dists/mantic/
Nope, the docu is correct. There is no docker-ce package for Mantic yet. The Mantic repo only contains containerd.

Yes I Have Done the command

Do you know when it’s official release is coming?

I have no idea. I never followed when docker-ce adds support for Ubuntu non-LTS versions (or any other OSes).

I recommend you to add the “lunar” repository if you need it right now (that was I did), so the command would be something like:

echo   "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu lunar stable" |   sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

After this, you can execute your commands to install it :wink:

1 Like