New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to uninstall Docker Rootless mode ? #166
Comments
Rootless install doesn't use the We should probably add some documentation about uninstalling those (/cc @AkihiroSuda) |
Probably we should add uninstaller to moby/moby#40707 |
The current uninstall steps:
|
@thaJeztah @AkihiroSuda thank you guys for the quick replys, I will try to find out
Actually, after doing that, it stills stay strong 💃 Do I need to restart my machine or something, thanks Update: Look like I have to run this command to stop it:
after that, it seems clean, |
Now I got the bigger problem, I cannot install a normal docker, it keeps saying that : "ERROR: Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?" maybe after removing Docker Rootless mode, it still not come back to normal? sudo setfacl -m user:bastian:rw /var/run/docker.sock
docker ps
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
sudo gpasswd -a $USER docker
Adding user bastian to group docker
sudo setfacl -m user:bastian:rw /var/run/docker.sock
docker ps
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
sudo setfacl -m user:bastian:rw /var/run/user/1000/docker.sock
setfacl: /var/run/user/1000/docker.sock: No such file or directory
✘ ~
sudo setfacl -m user:bastian:rw /run/user/1000/docker.sock
setfacl: /run/user/1000/docker.sock: No such file or directory
✘ ~
systemctl start docker
~
docker ps
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
docker ps
Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
docker info
Client:
Debug Mode: false
Server:
ERROR: Cannot connect to the Docker daemon at unix:///run/user/1000/docker.sock. Is the docker daemon running?
errors pretty printing info
@AkihiroSuda lookalike I need some another remove command to use normal docker again ? |
Probably you have added |
finally, I just found out on rootless docs: https://docs.docker.com/engine/security/rootless/ # Make sure the following environment variables are set (or add them to ~/.bashrc):
export DOCKER_HOST=unix:///run/user/1001/docker.sock So I went to my file (~/.zshrc ) to remove that line, and after logout/login, my docker has finally work, thank god |
Documenting for Ubuntu 20.04.2 LTS users remove |
I believe this will be more appropriate
|
Linux newbie here. Hard way to find rootless docker does not support macvlan (or I am not able to get it working). My uninstall procedure: |
I'm new for the town, so I'm sorry to ask something stupid,
I cannot uninstall Docker Rootless mode,
I try
sudo apt-get remove docker docker-engine docker.io containerd runc
but it not working,I don't know how to do because it's still new and there is not so much document or article about that,
Thanks
The text was updated successfully, but these errors were encountered: