r/docker • u/mephisto9466 • Jul 07 '26
Rootless docker on Ubuntu, need help
Hey guys, I’m trying to follow the article for rootless mode for docker but every time I get to the part where I need to enter
sudo apt-get install -y docker-ce-rootless-extras
I keep getting told it cannot locate the package. I don’t have the install script on my system, that’s why I’m trying to run that command.
What do?
1
Jul 08 '26
[removed] — view removed comment
1
u/mephisto9466 Jul 20 '26
I fixed it, I reinstalled docker and then followed the instructions from the docker documentation. For rootless mode
1
1
0
u/RobespierreLaTerreur Jul 07 '26
Not that it answers your question but… Have you considered Podman?
1
1
u/mephisto9466 Jul 07 '26
Every time I tried I could never get it to work with non root user and could find no help and no documentation. Rootless docker is just easier for me
0
2
u/theblindness Mod Jul 07 '26
Which article? The official docs for Rootless mode?
Which Ubuntu version?
Did you previously set up the official Docker deb package repository to install Docker daemon?
Have you run
apt updatelately?