Base Docker Image Cette fois, j'ai utilisé l'image "centos / sysctct" comme base.
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
centos/systemd latest 05d3c1e2d0c1 7 weeks ago 202MB
$ docker run -d 05d3c1e2d0c
0bdf202c5dcbad38df131860681ca5aa604b46ded37837b3a6c18f56665a6871
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0bdf202c5dcb 05d3c1e2d0c1 "/usr/sbin/init" 8 seconds ago Up 7 seconds sleepy_tu
$ docker exec -it 0bdf202c5dcb bash
[root@0bdf202c5dcb /]#
Confirmation
[root@0bdf202c5dcb ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[root@0bdf202c5dcb ~]# uname -a
Linux 0bdf202c5dcb 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Recommended Posts