What are artifacts files to be created in "GraphRoot"/overlay-containers/"containerID"/userdata/artifacts? #16368
-
I'm not sure what is for the directory "GraphRoot"/overlay-containers/"containerID"/userdata/artifacts This "artifacts" subdirectory is created at libpod.setupStorage() (*1). Although libpod.AddArtifact() (*2) is supposed to create the "artifacts" files in that directory, And there is a process in "podman container checkpoint --export" to export this directory as includeFiles (*3). Previously, libpod (e.g. podman v1.4.2-stable) create a file "create-config" for pre OCI spec as the "artifacts" files (*4). What is the purpose of "artifacts" files? (*1) https://github.com/containers/podman/blob/main/libpod/container_internal.go#L543 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Artifacts are intended to store metadata files associated with a container. In the past, this included information used for |
Beta Was this translation helpful? Give feedback.
Artifacts are intended to store metadata files associated with a container. In the past, this included information used for
podman inspect
, but we refactored to not require that a long time ago. As of now, the functionality is unused, but available if we ever need such storage in the future.