Hello!

I finally got around to play with NixOS' Containers. I'm sure they will
be a very useful tool in the future.

However, I seem to have a small issue when using them in an imperative
way:

1) Create and start a new container as described in "Imperative container
management"

2) Edit /var/lib/containers/<name>/etc/nixos/configuration.nix on the
host.

3) run `nixos-container update <name>'.

This should - according to the manual - apply the changes I did in the
configuration.nix to the container. Instead, it reverts the
configuration.nix to the "basic" contents it had right after the
creation of the container.

Is this an issue in the manual, or is there anything wrong with my
approach? I'd really like to do it this way, opposed to the `--config'
approach to updating the container.


Another issue I see is that `nix-channel --update' in the container
doesn't work (it just never returns). So I also can't run
`nixos-rebuild' in the container itself.


Thanks,
Moritz Ulrich

Attachment: pgpdQlP9cqqaO.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to