We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
K3s is running ,but there is no output from nerdctl .
./nerdctl --address /run/k3s/containerd/containerd.sock ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Thanks !
The text was updated successfully, but these errors were encountered:
You need to specify --namespace=k8s.io
nerdctl --address /run/k3s/containerd/containerd.sock --namespace k8s.io ps
Sorry, something went wrong.
Is there a way I can put the --address parameter into a config file or do I need to create a wrapper or set an alias?
Adding export CONTAINERD_ADDRESS=/run/k3s/containerd/containerd.sock to .bash_profile should work.
export CONTAINERD_ADDRESS=/run/k3s/containerd/containerd.sock
.bash_profile
nerdctl v0.16(ETA: Jan 2022) will support nerdctl.toml file too https://github.com/containerd/nerdctl/blob/master/docs/config.md
nerdctl.toml
No branches or pull requests
Hello
K3s is running ,but there is no output from nerdctl .
./nerdctl --address /run/k3s/containerd/containerd.sock ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Thanks !
The text was updated successfully, but these errors were encountered: