I can't remove docker images on azure, and I have run out of storage space.
I login to
$ ssh -i nopass.pem -fNL LOCAL_PORT:localhost:REMOTE_PORT -p 2200 [USERNAME]@[DNSPREFIX]mgmt.[REGION].cloudapp.azure.com
Run Code Online (Sandbox Code Playgroud)
and then I can see a bunch of images with
$ 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
Run Code Online (Sandbox Code Playgroud)
But when I try to remove them
$ docker -H 127.0.0.1:22375 rmi 7c3ea6fa5131
Error: No such image: 7c3ea6fa5131
Run Code Online (Sandbox Code Playgroud)
Can someone advice what I am doing wrong?
最终登录到 swarm master,然后从那里我使用以下命令登录到 swarm-agent:
ssh -i nopass.pem [USERNAME]@10.0.0.5
我在 Portal.azure.com 上找到的 swarm-agent 的 IP 地址
从群体代理我可以做
docker rmi 7c3ea6fa5131
| 归档时间: |
|
| 查看次数: |
288 次 |
| 最近记录: |