storage
storage copied to clipboard
Container Storage Library
Here is an output from pulling a jboss wildfly image with a debugging diff: ``` INFO[2021-08-18 14:10:31.535974307-07:00] Pulling image: docker.io/jboss/wildfly:latest id=8c2b83df-c6b9-4718-9164-7a92a34c29fc name=/runtime.v1alpha2.ImageService/PullImage INFO[2021-08-18 14:10:31.578657001-07:00] Trying to access "docker.io/jboss/wildfly:latest" INFO[2021-08-18 14:10:33.410380288-07:00]...
Relates to kubernetes-sigs/cri-tools#472 We discovered some flakyness when running critest in parallel. It seemed that an image we want to remove already got removed by a parallel test, which should...
This is more a rough idea and I'm wondering if you had any thoughts on this as well. It relates somehow to https://github.com/containers/storage/issues/420 We're currently locking the whole containers, images...
Sometimes on commit, sometimes on diff ``` # podman-remote [options] commit -q testcon newimage Error: copying layers and metadata for container "cecc9c90f4107cf89808b8234df98e173e1bf052a006665f460a1e86f8d070b8": initializing source containers-storage:testcon: extracting layer "1745071114b3933b11b73a9f099d2b82d4e80262c1211b1b6e7f388466ebdf3c": invalid argument...
Since this is not secure, let's not pretend it is. Prep for changing the API to be fd-relative for better support on Linux (and in theory FreeBSD).
I'd like to support passing a file descriptor root for the container storage, and not an absolute path. In the bootc codebase (partially a philosophy inherited from ostree) we've heavily...
and use directly the stream to create the temporary zstd:chunked file.
Today the c/storage composefs backend generates a composefs blob per layer and unions them via overlayfs. In contrast in ostree, we always generate a single final flattened filesystem tree. For...
A side discovery I can’t delve into now: https://github.com/containers/storage/blob/98ad80d6d16593c959d77b03b33af555eb620891/pkg/chunked/cache_linux.go#L114 defines a new local variable, it does not change the value of the global singleton: https://github.com/containers/storage/blob/98ad80d6d16593c959d77b03b33af555eb620891/pkg/chunked/cache_linux.go#L77 AFAICS that means every cache...
the global singleton was never updated, causing the cache to be always recreated for each layer. It is not possible to keep the layersCache mutex for the entire load() since...