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
Admittedly I am relatively new to MacOS but reasonably familiar with Linux, containerd and have used nerdctl in the past. On my M4 processor based MacOS system I use macports (instead of homebrew) and so far I've never faced any issues. Today I installed lima and then colima, in the hopes to use use nerdctl to manage containerd containers hosted on a VZ (native virtualization).
Here is what I've done so far: colima start -r containerd --cpu 4 --memory 8 --disk 30 --network-address --mount $HOME/rag-data
Which did spin up, and running colima status I get this:
INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: containerd
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.64.13
Following that, running colima nerdctl ps I get this:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Running colima nerdctl install I get this:
INFO[0000] /usr/local/bin not writable, sudo password required to install nerdctl binary
Password:
However, which nerdctl shows:
/opt/local/bin/nerdctl
And running nerdctl ... commands i.e. without the colima prefix, seems to invoke nerdctl having no knowledge of colima's running containerd VM.
Running this olima nerdctl run -d -p 8080:80 nginx shows:
Error: unknown shorthand flag: 'd' in -d
Usage:
colima nerdctl [flags]
colima nerdctl [command]
Aliases:
nerdctl, nerd, n
Available Commands:
install install nerdctl alias script on the host
Flags:
-h, --help help for nerdctl
Global Flags:
-p, --profile string profile name, for multiple instances (default "default")
-v, --verbose enable verbose log
--very-verbose enable more verbose log
Use "colima nerdctl [command] --help" for more information about a command.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Admittedly I am relatively new to MacOS but reasonably familiar with Linux, containerd and have used nerdctl in the past. On my M4 processor based MacOS system I use macports (instead of homebrew) and so far I've never faced any issues. Today I installed lima and then colima, in the hopes to use use nerdctl to manage containerd containers hosted on a VZ (native virtualization).
Here is what I've done so far:
colima start -r containerd --cpu 4 --memory 8 --disk 30 --network-address --mount $HOME/rag-data
Which did spin up, and running
colima status
I get this:INFO[0000] colima is running using macOS Virtualization.Framework
INFO[0000] arch: aarch64
INFO[0000] runtime: containerd
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.64.13
Following that, running
colima nerdctl ps
I get this:CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Running
colima nerdctl install
I get this:INFO[0000] /usr/local/bin not writable, sudo password required to install nerdctl binary
Password:
However,
which nerdctl
shows:/opt/local/bin/nerdctl
And running
nerdctl ...
commands i.e. without thecolima
prefix, seems to invoke nerdctl having no knowledge of colima's running containerd VM.Running this
olima nerdctl run -d -p 8080:80 nginx
shows:Error: unknown shorthand flag: 'd' in -d
Usage:
colima nerdctl [flags]
colima nerdctl [command]
Aliases:
nerdctl, nerd, n
Available Commands:
install install nerdctl alias script on the host
Flags:
-h, --help help for nerdctl
Global Flags:
-p, --profile string profile name, for multiple instances (default "default")
-v, --verbose enable verbose log
--very-verbose enable more verbose log
Use "colima nerdctl [command] --help" for more information about a command.
FATA[0000] unknown shorthand flag: 'd' in -d
What could be the issue ?
Beta Was this translation helpful? Give feedback.
All reactions