Skip to content

feat: allow overriding docker executable#37

Merged
nalgeon merged 1 commit intonalgeon:mainfrom
afbjorklund:docker-env
Apr 17, 2026
Merged

feat: allow overriding docker executable#37
nalgeon merged 1 commit intonalgeon:mainfrom
afbjorklund:docker-env

Conversation

@afbjorklund
Copy link
Copy Markdown
Contributor

@afbjorklund afbjorklund commented Apr 17, 2026

So that you can run with DOCKER=nerdctl

Closes #36


Note, if testing with nerdctl.lima also need:

TMPDIR=~/.local/tmp

@nalgeon
Copy link
Copy Markdown
Owner

nalgeon commented Apr 17, 2026

Hey Anders, thank you for the PR! The build is failing because of unrelated problems — please merge the latest changes from the main branch to fix them.

So that you can run with DOCKER=nerdctl
@nalgeon nalgeon merged commit 3305302 into nalgeon:main Apr 17, 2026
1 check passed
@nalgeon
Copy link
Copy Markdown
Owner

nalgeon commented Apr 17, 2026

Thank you!

@afbjorklund
Copy link
Copy Markdown
Contributor Author

I should have mentioned that the need for overriding TMPDIR is that the default /tmp is not mounted on the VM.

When you are running with docker or podman-remote, there is a network mount of the files from the host system. But when running with lima nerdctl or lima podman, there is only a local mount of the files in the guest system.

So in order to mount something from the host, it needs to have been configured already - and only HOME is shared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add DOCKER environment variable for docker

2 participants