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

Open
#73 2 comments 0 reactions 1 assignee View on GitHub

@bmpvieira is already working on this.

Since Jan 2, 2019.

Assessment

This issue has not been assessed yet.

Description

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.

Dominant language
TypeScript
Stars
124
Forks
10
Avg merge
3h 28m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stencila/dockta

All issues in stencila/dockta

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.