can't stop the master process
heycyril opened this issue · 2 comments
I I can't stop the master process
[root@cyril cluster]# docker ps |grep redis
d980f6fcbbbb redis:3 "docker-entrypoint.sh" 29 minutes ago Up 28 minutes (Paused) 6379/tcp cluster_master_1
[root@cyril cluster]# docker-compose ps
Name Command State Ports
cluster_master_1 docker-entrypoint.sh redis ... Paused 6379/tcp
[root@cyril cluster]# docker-compose rm
No stopped containers
[root@cyril cluster]# docker-compose ps
Name Command State Ports
cluster_master_1 docker-entrypoint.sh redis ... Paused 6379/tcp
[root@cyril cluster]# docker-compose rm cluster_master_1
ERROR: No such service: cluster_master_1
[root@cyril cluster]# docker rm -f d980f6fcbbbb
Error response from daemon: Could not kill running container d980f6fcbbbbe2300ecbc57a32ade36ffdbdeff1cabdd4359a1c7bb8f39f5c43, cannot remove - Container d980f6fcbbbbe2300ecbc57a32ade36ffdbdeff1cabdd4359a1c7bb8f39f5c43 is paused. Unpause the container before stopping
[root@cyril cluster]# docker stop d980f6fcbbbb
Error response from daemon: Cannot stop container d980f6fcbbbb: Container d980f6fcbbbbe2300ecbc57a32ade36ffdbdeff1cabdd4359a1c7bb8f39f5c43 is paused. Unpause the container before stopping
[root@cyril cluster]# docker kill d980f6fcbbbb
Error response from daemon: Cannot kill container d980f6fcbbbb: Container d980f6fcbbbbe2300ecbc57a32ade36ffdbdeff1cabdd4359a1c7bb8f39f5c43 is paused. Unpause the container before stopping
[root@cyril alpine]# ps -ef |grep 6379
polkitd 23147 1 0 13:59 ? 00:00:00 redis-server *:6379
root 25396 1193 0 14:52 pts/1 00:00:00 grep --color=auto 6379
[root@cyril alpine]# kill -9 23147
[root@cyril alpine]# ps -ef |grep 6379
polkitd 23147 1 0 13:59 ? 00:00:00 redis-server *:6379
root 25398 1193 0 14:52 pts/1 00:00:00 grep --color=auto 6379
then,There are two processes can not be stopped
root 25938 1 0 15:07 ? 00:00:00 /usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --selinux-enabled --log-driver=journald --signature-verification=false
root 25953 25938 0 15:08 ? 00:00:00 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --shim docker-containerd-shim --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --runtime docker-runc --runtime-args --systemd-cgroup=true
root 25960 1193 0 15:08 pts/1 00:00:00 grep --color=auto docker
Reboot after the problem is solved, but I want to know what is the cause