Docker便利ですね!!!
だけどdocker build
が遅いですね!!
wx01(wimax)なめんな!!!(解約したい)
通信速度が遅いせいでDockerが避難されています。
それで、途中でbuild
を解除したかったのでCtrl + C
を実行したわけですよ。
$ docker build -t cenots/centos6 .
^C
すると。。。
$ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE <none> <none> fa5be2806d4c 3 months ago
? 削除してみるか(´・ω・)
$ docker rmi fa5be2806d4c Error response from daemon: conflict: unable to delete fa5be2806d4c (cannot be forced) - image is held by an ongoing pull or build Error: failed to remove images: [fa5be2806d4c]
(;´°ω°)!??
削除できない!
なんでだろーって約2時間さまよいました。んで、エラー文とにらめっこしていると
image is held by an ongoing pull or build
ほう。。。pullしている途中だとな。
もうよくわからないので、一旦dockerを再起動
$ systemctl stop docker.service $ systemctl start docker.service
すると...
$ docker rmi fa5be2806d4c Deleted: fa5be2806d4c9aa0f75001687087876e47bb45dc8afb61f0c0e46315500ee144
消えた!
よかったー