Created
July 26, 2018 19:38
-
-
Save greg-hellings/211f21847818ba836102ef0981d132ca to your computer and use it in GitHub Desktop.
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
| $ docker run -t centos:7 /usr/lib/systemd/systemd --system | |
| ^C | |
| $ docker ps -a | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 3ce1f1998396 centos:7 "/usr/lib/systemd/..." 28 seconds ago Up 27 seconds musing_kare | |
| $ docker exec -it musing_kare /bin/bash | |
| [root@3ce1f1998396 /]# yum install openssh-server | |
| <snip> | |
| [root@3ce1f1998396 /]# systemctl start sshd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment