History missing layer IDs

Hello all,

I just did a fresh install on Ubuntu using the documentation: https://docs.docker.com/engine/installation/linux/ubuntulinux/

When I pull an image using “sudo docker pull ubuntu” and then “sudo docker history ubuntu” it returns missing layer IDs in the columns. Using the documentation example ( https://docs.docker.com/engine/reference/commandline/history/ ) my output is:

IMAGE CREATED CREATED BY SIZE COMMENT
3e23a5875458 8 days ago /bin/sh -c #(nop) ENV LC_ALL=C.UTF-8 0 B
"missing" 8 days ago /bin/sh -c dpkg-reconfigure locales && loc 1.245 MB
"missing" 8 days ago /bin/sh -c apt-get update && apt-get install 338.3 MB

and so on. Only the base layer ID shows, the rest is “missing”. I tried installing on another Ubuntu machine connected to a different network and it has the same problem for any image that I download.

Does someone know what’s causing this or able to help me fix it? I rely on this layer ID since I’m gathering some statistics on the reusability of layers so I need this ID to show correctly.

Thank you

I’m still having this problem, does anyone know how I can see all the layers in an image after pulling it?