Skip to content

feature: mount any '/nix/store' from host machine #73

Description

@nokome

Currently, when executing a Nix based docker container we mount a Nix store volume: https://github.com/stencila/dockter/blob/e8563580a1104f58e9d29e37bc8e4d6dc2a81db4/src/cli-nix.ts#L65-L68

Instead of looking for, and creating if necessary, a Docker volume with the name nix-store, why not look for, and create if necessary, a /nix/store directory on the host machine? Or maybe fall back to the current approach only if there is no /nix/store directory on the host machine.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions