mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 05:03:40 +00:00
![]() On the host, you can run $ socat unix:<path-to-container>/var/lib/login.socket -,echo=0,raw to get a login prompt. So this allows logging in even if the container has no SSH access enabled. You can also do $ socat unix:<path-to-container>/var/lib/root-shell.socket - to get a plain root shell. (This socket is only accessible by root, obviously.) This makes it easy to execute commands in the container, e.g. $ echo reboot | socat unix:<path-to-container>/var/lib/root-shell.socket - |
||
---|---|---|
.. | ||
amazon-config.nix | ||
amazon-image.nix | ||
container-login.nix | ||
containers.nix | ||
ec2-data.nix | ||
google-compute-config.nix | ||
google-compute-image.nix | ||
libvirtd.nix | ||
nova-config.nix | ||
nova-image.nix | ||
nova.nix | ||
qemu-opts | ||
qemu-vm.nix | ||
virtualbox-guest.nix | ||
virtualbox-image.nix | ||
xen-dom0.nix | ||
xen-domU.nix |