forked from mirrors/nixpkgs
ba88db3cd3
The command nixos-container can now create containers. For instance, the following creates and starts a container named ‘database’: $ nixos-container create database The configuration of the container is stored in /var/lib/containers/<name>/etc/nixos/configuration.nix. After editing the configuration, you can make the changes take effect by doing $ nixos-container update database The container can also be destroyed: $ nixos-container destroy database Containers are now executed using a template unit, ‘container@.service’, so the unit in this example would be ‘container@database.service’. |
||
---|---|---|
.. | ||
amazon-config.nix | ||
amazon-image.nix | ||
container-login.nix | ||
containers.nix | ||
ec2-data.nix | ||
google-compute-config.nix | ||
google-compute-image.nix | ||
libvirtd.nix | ||
nixos-container.sh | ||
nova-config.nix | ||
nova-image.nix | ||
nova.nix | ||
qemu-opts | ||
qemu-vm.nix | ||
run-in-netns.c | ||
virtualbox-guest.nix | ||
virtualbox-image.nix | ||
xen-dom0.nix | ||
xen-domU.nix |