Jump to content

Docker: Difference between revisions

Line 148: Line 148:
1x00ks05cz89k3wc460i03iyyjr7wlr28krk7znavfy2qx5a0hfd
1x00ks05cz89k3wc460i03iyyjr7wlr28krk7znavfy2qx5a0hfd
</syntaxHighlight>
</syntaxHighlight>
=== Directly Using Nix in Image Layers ===
Instead of copying Nix packages into Docker image layers, Docker can be configured to directly utilize the <code>nix-store</code> by integrating with [https://github.com/pdtpartners/nix-snapshotter nix-snapshotter].
This will significantly reduce data duplication and the time it takes to pull images.


== Docker Compose with Nix ==
== Docker Compose with Nix ==