diff options
| author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-17 14:04:39 +0100 |
|---|---|---|
| committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-17 14:10:47 +0100 |
| commit | 0d506aa712cf088343dff5863e9e58eb1228c3b0 (patch) | |
| tree | 143c15a622b59b319d9d14e0a2db2f5182197d2f /pkgs/development/python-modules/GitPython/hardcode-git-path.patch | |
| parent | 1b6c01721d3853860903a605575b8eddd56c2db1 (diff) | |
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 -
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions
