Hello from Docker! This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64) 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.
To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/
For more examples and ideas, visit: https://docs.docker.com/get-started/
[root@localhost ~]# systemctl enable docker.service Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
# 查看CONTAINER ID [root@localhost ~]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6aa16caac712 medicean/vulapps:s_struts2_s2-032 "/usr/local/tomcat/b…" 22 seconds ago Up 21 seconds 0.0.0.0:80->8080/tcp keen_carson ee8ea1d1acdd medicean/vulapps:r_redis_1 "/start.sh" 30 minutes ago Up 4 minutes 22/tcp, 0.0.0.0:6379->6379/tcp redisvul
# 查看所有container root@Linx:~/apache# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e6318265a202 httpd:centos "/run.sh" 5 minutes ago Exited (127) 5 minutes ago httpd1 eaf9ee72f448 httpd:centos "/run.sh" 6 minutes ago httpd