vscode-docker-explorer icon indicating copy to clipboard operation
vscode-docker-explorer copied to clipboard

Docker Images section not working if image ID downloaded twice

Open NKarolak opened this issue 5 years ago • 6 comments

Sometimes two different docker repository addresses refer to the same image id. image Hence if you pull both images and end up having one image id twice, then the Explorer section "Docker Images" does not display anything. image When I try to refresh the section, the following error is thrown:

Element with id <image_id> is already registered

NKarolak avatar Oct 08 '19 11:10 NKarolak

I have the same problem,

the list should be shown, as docker images command works correctly

images can be tagged to have more user friendly names, in this case they have also the same ID while the list contains more than one element with the ID

nokiamanfromspace avatar Jan 22 '20 14:01 nokiamanfromspace

No reaction since October :-(

NKarolak avatar Jan 22 '20 14:01 NKarolak

I still get this as well

precator avatar Dec 04 '20 19:12 precator

Anyone?

sufyanel avatar Sep 06 '21 16:09 sufyanel

Can confirm this.

$ docker ps
  ...
  httpd                              2.4                 1132a4fc88fa   3 weeks ago    143MB
  httpd                              latest              1132a4fc88fa   3 weeks ago    143MB
  ...

Error message: Element with id 1132a4fc88fa is already registered

schorschebob avatar Nov 16 '21 09:11 schorschebob

Can also confirm this.

$ docker images 
...
hyperledger/fabric-ca          1.4                           152b9082adf6   17 months ago   158MB
hyperledger/fabric-ca          1.4.8                         152b9082adf6   17 months ago   158MB
hyperledger/fabric-ca          latest                        152b9082adf6   17 months ago   158MB
....

Element with id 152b9082adf6 is already registered

SecMS avatar Jan 21 '22 07:01 SecMS