Jump to content

Docker: Difference between revisions

389 bytes added ,  18 May 2021
Add Arion
imported>Roberth
m (Link dockerTools in its relevant section as well)
imported>Roberth
(Add Arion)
Line 50: Line 50:


While [https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-dockerTools <code>dockerTools</code>] allows to build lightweight containers, it requires <code>nix</code> to be installed on the host system. An alternative are [https://github.com/LnL7/nix-docker docker images] with nix preinstalled, maintained by LnL7.
While [https://nixos.org/manual/nixpkgs/stable/#sec-pkgs-dockerTools <code>dockerTools</code>] allows to build lightweight containers, it requires <code>nix</code> to be installed on the host system. An alternative are [https://github.com/LnL7/nix-docker docker images] with nix preinstalled, maintained by LnL7.
== Docker Compose with Nix ==
[https://docs.hercules-ci.com/arion/ Arion] is optimized for running Nix-based projects in Docker Compose. It uses the NixOS module system for configuration, it can bypass <code>docker build</code> and lets you use dockerTools or use the store directly in the containers. The images/containers can be typical dockerTools style images or full NixOS configs.


== See also ==
== See also ==
Anonymous user