Description
When we run this on MacOS:
It creates such wrapper script:
╰─ cat /usr/local/bin/nerdctl
#!/usr/bin/env sh
/opt/homebrew/bin/colima nerdctl --profile default -- "$@"
Unfortunately, when we run something like that:
╭─ ~ ✔ 08:00:20 PM
╰─ CONTAINERD_NAMESPACE=k8s.io nerdctl images
REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZE
the env variable is not passed to the nerdctl command.
export doesn't help as well.
It is not related exactly to CONTAINERD_NAMESPACE, all variables which are used by nerdctl don't work this way.
Would be good to have a wrapper script which passes env variables.
Description
When we run this on MacOS:
It creates such wrapper script:
Unfortunately, when we run something like that:
╭─ ~ ✔ 08:00:20 PM ╰─ CONTAINERD_NAMESPACE=k8s.io nerdctl images REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE BLOB SIZEthe env variable is not passed to the nerdctl command.
exportdoesn't help as well.It is not related exactly to
CONTAINERD_NAMESPACE, all variables which are used by nerdctl don't work this way.Would be good to have a wrapper script which passes env variables.