我运行一个码头工人的容器,但几分钟后,它是由被杀害(I run a docker container

2019-10-24 07:02发布

我已经运行泊坞窗容器中,使用nsenter到它。但是几分钟后,这个容器是自杀

root@n14:~# docker ps
CONTAINER ID        IMAGE                    COMMAND                CREATED             STATUS              PORTS                                    NAMES
e69069513c8b        sameersbn/mysql          "/start"               25 minutes ago      Up 12 seconds       3306/tcp                                 mysqldb1             
02f3f156b3e7        sameersbn/mysql          "/start"               25 minutes ago      Up 25 minutes       3306/tcp                                 mysqldb   

root@n14:~# nsenter --target 13823 --mount --uts --ipc --net --pid

root@e69069513c8b:/home/git/gitlab# Killed

root@n14:~# docker ps -a
CONTAINER ID        IMAGE                             COMMAND                CREATED             STATUS                         PORTS                                    NAMES
e69069513c8b        sameersbn/mysql                   "/start"               55 minutes ago      Exited (0) 28 minutes ago                                               mysqldb1
文章来源: I run a docker container,but after few minutes , it was killed by himself
标签: docker