Docker images -a showing several images with repository <none>

When I use command docker ps -a it lists several images with repository <none>. I’m assuming they’re related to another image given the similar time stamp. I’m just wondering what their purpose is?

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
opensuse            latest              33ab078b606b        5 days ago          254.6 MB
mattgruter/drone    latest              ec2ee19cb579        2 weeks ago         312.4 MB
<none>              <none>              69d95bd4b1f9        2 weeks ago         312.4 MB
<none>              <none>              227d0f1e0dfa        2 weeks ago         312.4 MB
<none>              <none>              a19dbed68faa        2 weeks ago         312.4 MB
<none>              <none>              01ff591e80dc        2 weeks ago         312.4 MB
<none>              <none>              89c0c546d2ba        2 weeks ago         312.4 MB
<none>              <none>              030d18544ee4        2 weeks ago         279.1 MB
<none>              <none>              1aaa2da8e8c2        2 weeks ago         271.6 MB
<none>              <none>              c7928e43d1b3        2 weeks ago         269.9 MB
<none>              <none>              0252973e04f0        2 weeks ago         268.6 MB
<none>              <none>              2004ab1a6ca0        2 weeks ago         268.6 MB
<none>              <none>              c26aae018d13        2 weeks ago         268.6 MB
<none>              <none>              5707a16ae741        2 weeks ago         268.6 MB
<none>              <none>              d959a0f0afef        2 weeks ago         268.6 MB
<none>              <none>              bd654a62529d        2 weeks ago         268.6 MB
<none>              <none>              bd52fe5f72a3        2 weeks ago         220.6 MB
<none>              <none>              cd074038dbb7        2 weeks ago         209.2 MB
<none>              <none>              4c12a68b82b3        2 weeks ago         188.3 MB
<none>              <none>              f272e06028fd        2 weeks ago         188.3 MB
<none>              <none>              6d4946999d4f        3 weeks ago         188.3 MB
<none>              <none>              9fd3c8c9af32        3 weeks ago         188.3 MB
<none>              <none>              435050075b3f        3 weeks ago         188.3 MB
<none>              <none>              428b411c28f0        3 weeks ago         188.1 MB
<none>              <none>              5b8dd08af89b        10 weeks ago        0 B

  • Running virtual hosts on different ports of the same container using jwilder/nginx-proxy
  • Fail to run docker on kubernetes
  • Do I have to enable firewall on docker container?
  • Trying to pull image from private-repo.microsoft.com
  • Docker v1.12 can not change hostname by env variable $HOSTNAME
  • Reuse host binaries or share between containers in Docker
  • Mongodb official image errno:111 Connection refused when trying to create replicaset
  • Docker make .sh executable and run it
  • Docker tomcat not accessible from browser
  • How do I run mysqld as root in the official MySql docker image?
  • OrientDB Studio is not starting in Docker Container on Windows Server 2016
  • How to use --volume option with Docker Toolbox on Windows?
  • One Solution collect form web for “Docker images -a showing several images with repository <none>”

    When you build an image docker creates temporary container to move from one step to another.
    However these “< none >” images are something else; they are created when you build an image with the same repository/tag as one that has already been pulled. They are called dangling/untagged images.
    You can clean them up via:

    docker rmi $(docker images -f "dangling=true" -q)
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.