3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
Eelco Dolstra 0d506aa712 Provide a simple way to log into containers
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 -
2014-03-17 14:10:47 +01:00
doc Merge pull request #1815 from vcunat/p/doc-package-naming 2014-03-04 23:41:35 +01:00
lib Merge branch 'pr-wqy' of git://github.com/PkmX/nixpkgs 2014-03-15 13:22:31 -04:00
maintainers/scripts Fix updating of the tarball mirror 2014-02-19 13:58:42 +01:00
nixos Provide a simple way to log into containers 2014-03-17 14:10:47 +01:00
pkgs Explicitly require Nix 1.6 2014-03-17 11:33:36 +01:00
.gitignore Merge .gitignore files 2013-10-10 13:28:22 +02:00
.version Bump the overly optimistic version number 2014-02-28 16:56:32 +01:00
COPYING * Applying an MIT-style license to Nixpkgs. 2006-04-25 16:50:34 +00:00
default.nix Explicitly require Nix 1.6 2014-03-17 11:33:36 +01:00
README.md Fixed link to the installation instructions 2014-02-27 14:57:28 +01:00

Nixpkgs is a collection of packages for Nix package manager. Nixpkgs also includes NixOS linux distribution source code.