所以tutorial关于安装使用docker的Zenko。
在步骤5,启动docker容器后,我使用docker ps
检查了它的存在,发现它在几秒钟后消失了。
不确定发生了什么。有人请帮助我!
[centos@ip-10-0-7-40 ~]$ docker run -d --rm --name s3server -p 8000:8000 -v /home/centos/.aws/credentials:/root/.aws/credentials -v /home/centos/locationConfig.json:/usr/src/app/locationConfig.json -v /home/centos/config.json:/usr/src/app/config.json -e S3DATA=multiple s3server.custom:1.0
93345a2a3813638bf3bcd984978b7b5ad706b6d15955f0d49269579931d8251d
[centos@ip-10-0-7-40 ~]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
93345a2a3813 s3server.custom:1.0 “/usr/src/app/docker…” 2 seconds ago Up 2 seconds 0.0.0.0:8000->8000/tcp s3server
[centos@ip-10-0-7-40 ~]$ docker logs 93345a2a3813
Error response from daemon: No such container: 93345a2a3813