Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: oci image linking to store host nix/store path #109

Open
dzmitry-lahoda opened this issue Jan 2, 2024 · 4 comments
Open

feat: oci image linking to store host nix/store path #109

dzmitry-lahoda opened this issue Jan 2, 2024 · 4 comments

Comments

@dzmitry-lahoda
Copy link

can instead of copying files, just make oci image to link to host, assuming /nix/store is mounted into image?

so can make building oci images very fast for dev purposes.

@nlewo
Copy link
Owner

nlewo commented Jan 2, 2024

Hello,

That's currently not possible to do that with nix2container and i think this feature would require some changes around this part.

Did you take a look to arion?

@dzmitry-lahoda
Copy link
Author

looked, arion does not seem to support such feature.

@dzmitry-lahoda
Copy link
Author

dzmitry-lahoda commented Jan 2, 2024

this claimed support, but i have not found how easy to build image

https://github.com/pdtpartners/nix-snapshotter

@dzmitry-lahoda
Copy link
Author

this project seems closest to oci image, basically instead of ad hoc json it could may be generate oci spec json directly)

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

No branches or pull requests

2 participants