💾 Archived View for freeshell.de › tldr › nixos-container.gmi captured on 2024-03-21 at 17:13:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

nixos-container

Starts NixOS containers using Linux containers.

More information.

sudo nixos-container list
sudo nixos-container create {container_name} --config-file {nix_config_file_path}
sudo nixos-container {start|stop|terminate|destroy|status} {container_name}
sudo nixos-container run {container_name} -- {command} {command_arguments}
sudo $EDITOR /var/lib/container/{container_name}/etc/nixos/configuration.nix && sudo nixos-container update {container_name}
sudo nixos-container root-login {container_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY