💾 Archived View for freeshell.de › tldr › nixos-container.gmi captured on 2023-11-04 at 12:42:21. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Starts NixOS containers using Linux containers.
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).