podman: add support for splitting imagestore

Add support for `--imagestore` in podman which allows users to split the filesystem of containers vs image store, imagestore if configured will pull images in image storage instead of the graphRoot while keeping the other parts still in the originally configured graphRoot.

This is an implementation of
https://github.com/containers/storage/pull/1549 in podman.

Signed-off-by: Aditya R <arajan@redhat.com>
This commit is contained in:
Aditya R
2023-06-13 11:11:42 +05:30
parent 719e3228b1
commit 3829fbd35a
7 changed files with 97 additions and 0 deletions

View File

@ -78,6 +78,12 @@ Identity value resolution precedence:
- `containers.conf`
Remote connections use local containers.conf for default.
#### **--imagestore**=*path*
Path of the imagestore where images are stored. By default, the storage library stores all the images in the graphroot but if an imagestore is provided, then the storage library will store newly pulled images in the provided imagestore and keep using the graphroot for everything else. If the user is using the overlay driver, then the images which were already part of the graphroot will still be accessible.
This will override *imagestore* option in `containers-storage.conf(5)`, refer to `containers-storage.conf(5)` for more details.
#### **--log-level**=*level*
Log messages at and above specified level: debug, info, warn, error, fatal or panic (default: "warn")