Skip to content

missing binary when using full install #2317

@verdverm

Description

@verdverm

Description

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

  1. Fresh install on a fresh OS
  2. run rootless setup, should experience error
  3. nerdctl version should error, complaining about uid/gid
  4. try to uninstall, still get errors
  5. 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)

None

Host information

ChromeOS and default Debian linux app (bullseye)

Other notes

The following https://github.com/containerd/nerdctl/blob/main/docs/faq.md#how-to-uninstall---cant-remove-localsharecontainerd does not match what the first step prints out, it tells you to run a shorter command with only one directory

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions