Guest User

Untitled

a guest
Jul 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. $ docker exec <container> <command>
  2.  
  3. $ ssh <host> <command>
  4.  
  5. # systemd-nspawn -D <machine-root> -b 3 --link-journal host
  6.  
  7. # systemd-run --machine <machine-name> env
  8. Running as unit run-1356.service.
  9.  
  10. # journalctl --machine <machine-name> -u run-1356 -b -q
  11. Oct 30 07:45:09 jessie-64 systemd[1]: Started /usr/bin/env.
  12. Oct 30 07:45:09 jessie-64 env[37]: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  13.  
  14. $ nsenter
  15. --target=$(machinectl show --property Leader ipsec-libreswan | sed "s/^Leader=//")
  16. --mount --uts --ipc --net --pid
Add Comment
Please, Sign In to add comment