We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Kcli does not seem to work on rootless podman:
> alias kclishell alias kclishell='podman run --net host -it --rm --security-opt label=disable -v $HOME/.ssh:/root/.ssh -v $HOME/.kcli:/root/.kcli -v /var/lib/libvirt/images:/var/lib/libvirt/images -v /var/run/libvirt:/var/run/libvirt -v $PWD:/workdir --entrypoint=/bin/bash quay.io/karmab/kcli' > kclishell jose@think:/$ ls /root/ ls: cannot open directory '/root/': Permission denied
The text was updated successfully, but these errors were encountered:
Using docker instead of podman as a workaround seems to work.
docker
podman
Sorry, something went wrong.
default user within kcli container is root indeed, how do you access with a different user?
I don't do anything special, guess it is the default for Fedora Atomic distributions:
$ podman run --entrypoint=/usr/bin/whoami quay.io/karmab/kcli jose
Not for docker though (this is rootless docker also):
$ docker run --entrypoint=/usr/bin/whoami quay.io/karmab/kcli root
Looking at this doc:
By default, rootless Podman containers map the user's user ID (UID) into the container as root of the user namespace.
No branches or pull requests
Kcli does not seem to work on rootless podman:
The text was updated successfully, but these errors were encountered: