Skip to content

Add DOCKER environment variable for docker #36

@afbjorklund

Description

@afbjorklund

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions