Skip to content

Comments

'docker rmi -f IMAGE_ID' untag all names and delete the image#55

Merged
rhatdan merged 1 commit intorhatdan:rhel7-1.6from
miminar:rhel7-1.6
May 27, 2015
Merged

'docker rmi -f IMAGE_ID' untag all names and delete the image#55
rhatdan merged 1 commit intorhatdan:rhel7-1.6from
miminar:rhel7-1.6

Conversation

@miminar
Copy link

@miminar miminar commented May 25, 2015

If an image has been tagged to multiple repos and tags, 'docker
rmi -f IMAGE_ID' will just untag one random repo instead of
untagging all and deleting the image. This patch implement
this. This commit is composed of:

    *untag all names and delete the image

    *add test to this feature

    *modify commandline/cli.md to explain this

Resolves: rhbz#1222784

If an image has been tagged to multiple repos and tags, 'docker
rmi -f IMAGE_ID' will just untag one random repo instead of
untagging all and deleting the image. This patch implement
this. This commit is composed of:

        *untag all names and delete the image

        *add test to this feature

        *modify commandline/cli.md to explain this

Signed-off-by: Deng Guangxing <dengguangxing@huawei.com>
rhatdan added a commit that referenced this pull request May 27, 2015
'docker rmi -f IMAGE_ID' untag all names and delete the image
@rhatdan rhatdan merged commit 3f6194a into rhatdan:rhel7-1.6 May 27, 2015
@miminar miminar deleted the rhel7-1.6 branch September 7, 2015 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants