Docker: Difference between revisions
→Using Nix in containers: - NixOS in containers using Arion
RobbieBuxton (talk | contribs) |
(→Using Nix in containers: - NixOS in containers using Arion) |
||
(One intermediate revision by one other user not shown) | |||
Line 114: | Line 114: | ||
More examples can be found in the [https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix nixpkgs] repo. | More examples can be found in the [https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/docker/examples.nix nixpkgs] repo. | ||
Also check out the excellent article by [ | Also check out the excellent article by [https://lucabrunox.github.io/2016/04/cheap-docker-images-with-nix_15.html lethalman] about building minimal docker images with nix. | ||
=== Reproducible image dates === | === Reproducible image dates === | ||
Line 191: | Line 191: | ||
* [https://hub.docker.com/r/nixos/nix/tags nixos/nix] (official) | * [https://hub.docker.com/r/nixos/nix/tags nixos/nix] (official) | ||
* [https://hub.docker.com/r/nixpkgs/nix 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) | ||
NixOS can be run in containers [https://docs.hercules-ci.com/arion/#_nixos_run_full_os using Arion]. | |||
= See also = | = See also = |