Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Cache of /nix only seems to work with docker compose #11

@dsyer

Description

@dsyer

The example devcontainer.json in the source code use docker compose. It works for me as expected - if I rebuild the container the /nix/store is not downloaded again. If I use the example from the README with "dockerFile": "Dockerfile" etc, then the /nix/store is downloaded on every container startup, even though the same volume is definitely mounted (per docker inspect). Any idea why that is, or what I am doing wrong?

P.S. I love what you did here. I might use a simplified version until I understand what all the moving parts are, but it's all great stuff.

Metadata

Metadata

Assignees

No one assigned

    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