Created
          October 19, 2016 00:53 
        
      - 
      
- 
        Save tjdett/1a78ebaad6e57a44c682d4014a8bb7ae to your computer and use it in GitHub Desktop. 
    Run systemd init in a rkt container
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | sudo `which rkt` run --interactive \ | |
| --volume volume-sys-fs-cgroup,kind=host,source=/sys/fs/cgroup,readOnly=true \ | |
| --insecure-options=image,seccomp,capabilities \ | |
| docker://fedora/systemd-systemd --exec /bin/bash -- \ | |
| -c "exec unshare --pid --fork --mount-proc /sbin/init" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment