From aeffddcb5133d48ccc5008981c6515d38d5e9f5a Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 3 Nov 2024 05:16:16 +0100 Subject: [PATCH] Fix doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9dce7f4..308a8a7 100644 --- a/README.md +++ b/README.md @@ -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":