Guide for new users #2815
-
Is there a guide for new users? I'm specifically looking for install instructions and a basic example. I'm trying to use the Install section of the readme, but it has a number of issues.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
nerdctl is shipped with lima to support MacOS. https://github.com/lima-vm/lima |
Beta Was this translation helpful? Give feedback.
-
I feel like I'm missing a link somewhere. The only instructions I see on the Releases page are to extract the archive using |
Beta Was this translation helpful? Give feedback.
-
I am running Rocky Linux 9.3 in a brand new VM with no special settings. I am trying to use nerdctl to run rootless containers. Stopping firewalld allowed me to get things running |
Beta Was this translation helpful? Give feedback.
-
Feel free to submit PRs to improve the docs.
Best tested (tested in nerdctl CI):
Well tested (tested in Lima CI: https://github.com/lima-vm/lima/blob/master/examples/README.md):
Occasionally tested:
Experimental:
Yes. Actually, The recommended step is to download sudo tar Cxzvvf /usr/local nerdctl-full-<VERSION>-linux-amd64.tar.gz And then start containerd: Rootful
sudo systemctl enable --now containerd
sudo nerdctl run -d --name nginx -p 80:80 nginx:alpine Rootless
containerd-rootless-setuptool.sh install
nerdctl run -d --name nginx -p 8080:80 nginx:alpine
Aside from nerdctl, you need to install containerd and CNI plugins at least.
Download from https://github.com/containernetworking/plugins/releases and extract it under
This is implied in: Line 3 in 0181cb0 Feel free to submit a PR to improve readability of this.
Automatically created. |
Beta Was this translation helpful? Give feedback.
Feel free to submit PRs to improve the docs.
Best tested (tested in nerdctl CI):
Well tested (tested in Lima CI: https://github.com/lima-vm/lima/blob/master/examples/README.md):
Occasionally tested: