Fix doc
This commit is contained in:
parent
10fb248aea
commit
aeffddcb51
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ In practice:
|
|||
ssh registry@tiptop
|
||||
## Run a shell in a registry container
|
||||
# podman run -it --rm myregistry sh # if the registry is not started
|
||||
podman exec -it mycontainer sh
|
||||
podman exec -it myregistry sh
|
||||
# List all images and their tags
|
||||
ls -lsd /var/lib/registry/docker/registry/v2/repositories/*/_manifests/tags/*
|
||||
ls -ldrt /var/lib/registry/docker/registry/v2/repositories/*/_manifests/tags/*
|
||||
## To remove an image with all its tags:
|
||||
rm -rf /var/lib/registry/docker/registry/v2/repositories/image_to_be_deleted
|
||||
## To remove only a tag, eg "latest":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue