I cannot delete the docker images on azure and I have run out of storage space.
I went into
$ ssh -i nopass.pem -fNL LOCAL_PORT:localhost:REMOTE_PORT -p 2200 [USERNAME]@[DNSPREFIX]mgmt.[REGION].cloudapp.azure.com
and then I see a bunch of images using
$ docker -H 127.0.0.1:22375 images
REPOSITORY TAG IMAGE ID CREATED SIZE
whatever.azurecr.io/whatnot 2018_01_08_12_0db3a68 7c3ea6fa5131 6 weeks ago 1.38GB
whatever.azurecr.io/whatnot 2018_01_08_11_8978ed3 e168b18d0057 6 weeks ago 1.38GB
whatever.azurecr.io/whatnot 2018_01_04_11_4147403 2ad5bc1170d0 6 weeks ago 1.39GB
whatever.azurecr.io/whatnot 2018_01_02_12_785ec5e 0e8d0954009b 7 weeks ago 1.39GB
whatever.azurecr.io/whatnot 2018_01_02_11_785ec5e f8f33d1350c9 7 weeks ago 1.39GB
But when I try to remove them
$ docker -H 127.0.0.1:22375 rmi 7c3ea6fa5131
Error: No such image: 7c3ea6fa5131
Can anyone advise what I am doing wrong?
source
share