Changes
Page history
Update Useful commands
authored
Jan 12, 2022
by
Nikolai.Hartmann
Show whitespace changes
Inline
Side-by-side
Useful-commands.md
View page @
ced27b2a
...
...
@@ -16,7 +16,7 @@ journalctl -eu systemd-nspawn@xcache [--since ...]
get a shell as xrootd user in a new temporary container using the xcache image
```
bash
systemd-nspawn
--register
=
no
-
D
/var/lib/machines/
xcache /bin/bash
systemd-nspawn
--register
=
no
-
M
xcache /bin/bash
```
`/bin/bash`
can also be replaced by an arbitrary command to be run. Pass
`-u root`
to get a root shell inside the container.
...
...
...
...