I was having the same issue I solved it by executing a shell in the docker container using this command docker exec -it imagebase bash
then issuing kill 1
command.
docker exec -it flask-app-cont /bin/bash
kill 1
進入你的container中,輸入kill 1
就可以把容器停掉了。
參考自:
https://stackoverflow.com/questions/51729836/error-response-from-daemon-cannot-stop-container-signaling-init-process-cause
沒有留言:
張貼留言
喜歡我的文章嗎? 喜歡的話可以留言回應我喔! ^^