When using some other than docker, like nerdctl, it would be nice to avoid the wrapper or symlink...
When using podman they have a "podman-docker" package that sets up docker and $DOCKER_HOST.
But nerdctl doesn't have that by default, even though the command line is compatible (enough).
So using an (optional) environment variable like $DOCKER would avoid hardcoding "docker"?
When running with Lima, would also need to move the volume to something that is shared:
sh: can't open 'main.sh': No such file or directory (exit status 2)
By default $TMPDIR is NOT shared between the host and the guest, but $HOME is (read-only)
A workaround is using something like TMPDIR=~/.local/tmp when starting
When using some other than docker, like nerdctl, it would be nice to avoid the wrapper or symlink...
When using podman they have a "podman-docker" package that sets up
dockerand$DOCKER_HOST.But
nerdctldoesn't have that by default, even though the command line is compatible (enough).So using an (optional) environment variable like
$DOCKERwould avoid hardcoding"docker"?When running with Lima, would also need to move the volume to something that is shared:
sh: can't open 'main.sh': No such file or directory (exit status 2)By default $TMPDIR is NOT shared between the host and the guest, but $HOME is (read-only)
A workaround is using something like
TMPDIR=~/.local/tmpwhen starting