[CI:DOCS] troubleshooting: document rm in image stores

Closes: https://github.com/containers/podman/issues/13003

[NO NEW TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2022-03-22 13:14:17 +01:00
parent d0e9f28f87
commit 07999b2373
No known key found for this signature in database
GPG Key ID: 67E38F7A8BA21772
1 changed files with 15 additions and 0 deletions

View File

@ -1177,3 +1177,18 @@ A side-note: Using [__--userns=keep-id__](https://docs.podman.io/en/latest/markd
can sometimes be an alternative solution, but it forces the regular
user's host UID to be mapped to the same UID inside the container
so it provides less flexibility than using __--uidmap__ and __--gidmap__.
### 35) Images in the additional stores can be deleted even if there are containers using them
When an image in an additional store is used, it is not locked thus it
can be deleted even if there are containers using it.
#### Symptom
WARN[0000] Can't stat lower layer "/var/lib/containers/storage/overlay/l/7HS76F2P5N73FDUKUQAOJA3WI5" because it does not exist. Going through storage to recreate the missing symlinks.
#### Solution
It is the user responsibility to make sure images in an additional
store are not deleted while being used by containers in another
store.