You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have finally got rootless setup working, but still unable to get it to uninstall.
The root of my issue was the missing binaries from the uidmap package
saw errors like:
FATA[0000] rootless containerd not running? (hint: use `containerd-rootless-setuptool.sh install` to start rootless containerd): environment variable XDG_RUNTIME_DIR is not set, see https://rootlesscontaine.rs/getting-started/common/login/
Steps to reproduce the issue
Fresh install on a fresh OS
run rootless setup, should experience error
nerdctl version should error, complaining about uid/gid
try to uninstall, still get errors
sudo apt install uidmap
commands start working
Describe the results you received and expected
an easier time installing and getting setup
What version of nerdctl are you using?
was unable to figure out the previous version, installed v1.4.0 today, so probably the 1.3.x before that iirc
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
There was also a .config/buildkit/buildkit.toml that had a rootless=true that was also impacting this, I had to set this to false to get some of the commands working while trying to debug / fix. Not sure of the order anymore... because I think it is still false, but now I am running nerdctl in rootless mode, so not sure what relation they actually have
Activity
AkihiroSuda commentedon Jun 22, 2023
https://github.com/containerd/nerdctl/blob/v1.4.0/docs/faq.md#how-to-uninstall---cant-remove-localsharecontainerd