0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

docker(22) 今日のdocker error: 動作止まる

Last updated at Posted at 2019-06-25
macOS

$ docker images
REPOSITORY                TAG                 IMAGE ID            CREATED             SIZE
kaizenjapan/qc-nakamori   latest              5186ef78791c        3 days ago          235MB
kaizenjapan/qc-nakamori   <none>              0b0b4bb6b179        3 days ago          194MB
ubuntu                    latest              4c108a37151f        6 days ago          64.2MB
kaizenjapan/100pon        latest              07d217d26151        5 months ago        20.4GB
continuumio/anaconda3     latest              69acfdf1121f        5 months ago        3.72GB
nginx                     latest              7042885a156a        5 months ago        109MB
kaizenjapan/gccv850src    latest              5e61526ac5aa        6 months ago        2.3GB
kaizejpanan/gccv850src    latest              48a9ecda4099        6 months ago        1.15GB
gcc                       latest              48a9ecda4099        6 months ago        1.15GB
centos                    latest              1e1148e4cc2c        6 months ago        202MB

docker rmi xxxでエラーが出る。

macOS
$ docker ps -a

で出たものを

macOS
$ docker rm xxxxx

で消していった。
2つ目までは成功。
3つ目で反応が10分しても20分してもない。

OS再起動して少し作業してたら、

macOS
$ docker ps -a

で結果が出てこない。

その前少しは, docker rmi, docker rmが動いた。

今日のdocker error: Error response from daemon: Bad response from Docker engine
https://qiita.com/kaizen_nagoya/items/c360b30b66b18b16d679

macOS
$ ps -ax
...
  721 ttys001    0:00.03 login -pf administrator
  723 ttys001    0:00.04 -bash
 1376 ttys001    0:00.49 docker rmi 07d217d26151
  829 ttys002    0:00.03 login -pf administrator
  830 ttys002    0:01.18 -bash
 1378 ttys002    0:00.26 docker ps -a
 1299 ttys003    0:00.02 login -pf administrator
 1300 ttys003    0:00.03 -bash
 1522 ttys003    0:00.00 ps -ax

あれ、docker rmiも終わっていないらしい。

macOS
$ kill 1376
$ kill 1378

grepしてみる。

macOS
ps -ax | grep docker
   88 ??         0:00.01 /Library/PrivilegedHelperTools/com.docker.vmnetd
 1255 ??         0:00.31 /Applications/Docker.app/Contents/MacOS/com.docker.supervisor -watchdog fd:0
 1256 ??         0:00.03 com.docker.osxfs serve --address fd:3 --connect vms/0/connect --control fd:4 --log-destination asl
 1257 ??         0:03.51 com.docker.vpnkit --ethernet fd:3 --port vpnkit.port.sock --port hyperkit://:62373/./vms/0 --diagnostics fd:4 --pcap fd:5 --vsock-path vms/0/connect --host-names host.docker.internal,docker.for.mac.host.internal,docker.for.mac.localhost --gateway-names gateway.docker.internal,docker.for.mac.gateway.internal,docker.for.mac.http.internal --vm-names docker-for-desktop --listen-backlog 32 --mtu 1500 --allowed-bind-addresses 0.0.0.0 --http /Users/administrator/Library/Group Containers/group.com.docker/http_proxy.json --dhcp /Users/administrator/Library/Group Containers/group.com.docker/dhcp.json --port-max-idle-time 300 --max-connections 2000 --gateway-ip 192.168.65.1 --host-ip 192.168.65.2 --lowest-ip 192.168.65.3 --highest-ip 192.168.65.254 --log-destination asl --udpv4-forwards 123:127.0.0.1:54159 --gc-compact-interval 1800
 1258 ??         0:00.55 com.docker.driver.amd64-linux -addr fd:3 -debug
 1264 ??       256:41.44 com.docker.hyperkit -A -u -F vms/0/hyperkit.pid -c 2 -m 2048M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-vpnkit,path=vpnkit.eth.sock,uuid=3c4c03f6-0651-475f-a27e-9e373010a592 -U 4fcfa162-45ca-41c2-ae73-845958581724 -s 2:0,ahci-hd,file:///Users/administrator/Library/Containers/com.docker.docker/Data/vms/0/Docker.qcow2?sync=os&buffered=1,format=qcow,qcow-config=discard=true;compact_after_unmaps=262144;keep_erased=262144;runtime_asserts=false -s 3,virtio-sock,guest_cid=3,path=vms/0,guest_forwards=2376;1525 -s 4,ahci-cd,/Applications/Docker.app/Contents/Resources/linuxkit/docker-for-mac.iso -s 5,ahci-cd,vms/0/config.iso -s 6,ahci-cd,/Applications/Docker.app/Contents/Resources/linuxkit/docker.iso -s 7,virtio-rnd -l com1,autopty=vms/0/tty,asl -f bootrom,/Applications/Docker.app/Contents/Resources/uefi/UEFI.fd,,
macOS
KM-S05:~ administrator$ kill 1378
KM-S05:~ administrator$ lo;; 1264
-bash: syntax error near unexpected token `;;'
KM-S05:~ administrator$ kill 1264
KM-S05:~ administrator$ kill 1258
KM-S05:~ administrator$ kill 1257
KM-S05:~ administrator$ docker images
^C
KM-S05:~ administrator$ kill 1255
KM-S05:~ administrator$ kill 88
-bash: kill: (88) - Operation not permitted
KM-S05:~ administrator$ kill -9 88
-bash: kill: (88) - Operation not permitted
KM-S05:~ administrator$ sudo kill -9 88
Password:
KM-S05:~ administrator$ ps -ax | grep docker
 1264 ??       262:07.11 com.docker.hyperkit -A -u -F vms/0/hyperkit.pid -c 2 -m 2048M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-vpnkit,path=vpnkit.eth.sock,uuid=3c4c03f6-0651-475f-a27e-9e373010a592 -U 4fcfa162-45ca-41c2-ae73-845958581724 -s 2:0,ahci-hd,file:///Users/administrator/Library/Containers/com.docker.docker/Data/vms/0/Docker.qcow2?sync=os&buffered=1,format=qcow,qcow-config=discard=true;compact_after_unmaps=262144;keep_erased=262144;runtime_asserts=false -s 3,virtio-sock,guest_cid=3,path=vms/0,guest_forwards=2376;1525 -s 4,ahci-cd,/Applications/Docker.app/Contents/Resources/linuxkit/docker-for-mac.iso -s 5,ahci-cd,vms/0/config.iso -s 6,ahci-cd,/Applications/Docker.app/Contents/Resources/linuxkit/docker.iso -s 7,virtio-rnd -l com1,autopty=vms/0/tty,asl -f bootrom,/Applications/Docker.app/Contents/Resources/uefi/UEFI.fd,,
 1631 ttys003    0:00.00 grep docker

dockerfatalerror.png

macOS
KM-S05:~ administrator$ kill 1264
KM-S05:~ administrator$ ps -ax | grep docker
 1264 ??       263:34.57 com.docker.hyperkit -A -u -F vms/0/hyperkit.pid -c 2 -m 2048M -s 0:0,hostbridge -s 31,lpc -s 1:0,virtio-vpnkit,path=vpnkit.eth.sock,uuid=3c4c03f6-0651-475f-a27e-9e373010a592 -U 4fcfa162-45ca-41c2-ae73-845958581724 -s 2:0,ahci-hd,file:///Users/administrator/Library/Containers/com.docker.docker/Data/vms/0/Docker.qcow2?sync=os&buffered=1,format=qcow,qcow-config=discard=true;compact_after_unmaps=262144;keep_erased=262144;runtime_asserts=false -s 3,virtio-sock,guest_cid=3,path=vms/0,guest_forwards=2376;1525 -s 4,ahci-cd,/Applications/Docker.app/Contents/Resources/linuxkit/docker-for-mac.iso -s 5,ahci-cd,vms/0/config.iso -s 6,ahci-cd,/Applications/Docker.app/Contents/Resources/linuxkit/docker.iso -s 7,virtio-rnd -l com1,autopty=vms/0/tty,asl -f bootrom,/Applications/Docker.app/Contents/Resources/uefi/UEFI.fd,,
 1642 ttys003    0:00.00 grep docker
KM-S05:~ administrator$ kill -9 1264
KM-S05:~ administrator$ ps -ax | grep docker
 1644 ttys003    0:00.00 grep docker

なんとか消えた。

macOS
$ docker images
Error response from daemon: Bad response from Docker engine

今度はこっち。何分で消えるかを測定するかどうか。と思ったら1分でエラーは出なくなった。

文書履歴(document history)

ver. 0.01 初稿 20190625 午後
ver. 0.02 HAZOP追記 20190625 夕
このエントリーをはてなブックマークに追加

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?