Docker: Difference between revisions

imported>Das-g
→‎Container images with nix: replace lnl7/nix with more recent images, as lnl7/nix is old
imported>Das-g
Line 63: Line 63:
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 docker images with nix preinstalled:
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 docker images with nix preinstalled:


* [nixos/nix](https://hub.docker.com/r/nixos/nix/tags) (official)
* [https://hub.docker.com/r/nixos/nix nixos/nix] (official)
* [nixpkgs/nix](https://hub.docker.com/r/nixpkgs/nix) (built from https://github.com/nix-community/docker-nixpkgs)
* [https://hub.docker.com/r/nixpkgs/nix nixpkgs/nix] (built from https://github.com/nix-community/docker-nixpkgs)


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