With this command, I can verify that the Ubuntu image is installed:
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE ubuntu latest 104bec311bcd 4 weeks ago 129 MB Suppose I have nakosyachil somewhere and want to start from scratch. Delete image:
$ docker rmi -f ubuntu Untagged: ubuntu:latest Untagged: ubuntu@sha256:7a64bc9c8843b0a8c8b8a7e4715b7615e4e1b0d8ca3c7e7a76ec8250899c397a Deleted: sha256:104bec311bcdfc882ea08fdd4f5417ecfb1976adea5a0c237e129c728cb7eada Now I check if he retired:
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE Yes, there really is no image. Now I want to download a new image and see this:
$ docker pull ubuntu Using default tag: latest latest: Pulling from library/ubuntu b3e1c725a85f: Already exists 4daad8bdde31: Already exists 63fe8c0068a8: Already exists 4a70713c436f: Already exists bd842a2105a8: Already exists Digest: sha256:7a64bc9c8843b0a8c8b8a7e4715b7615e4e1b0d8ca3c7e7a76ec8250899c397a Status: Downloaded newer image for ubuntu:latest If you run this image, then I will see my kosyachny. How do I remove the entire image and install a clean one?