summaryrefslogtreecommitdiff
path: root/contrib/rootless-cni-infra/README.md
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-09-14 10:19:07 +0200
committerValentin Rothberg <rothberg@redhat.com>2020-09-15 10:14:34 +0200
commitd4bea54dfee2856f32f20876db234e778bf91e14 (patch)
treea5d4aa17273850c767e439297d30c4d182b4a40a /contrib/rootless-cni-infra/README.md
parentb7a7cf65768eef79a185603cc3d1f56ce2053a9e (diff)
downloadpodman-d4bea54dfee2856f32f20876db234e778bf91e14.tar.gz
podman-d4bea54dfee2856f32f20876db234e778bf91e14.tar.bz2
podman-d4bea54dfee2856f32f20876db234e778bf91e14.zip
move `rootless-cni-infra` image to quay.io
Move the `rootless-cni-infra` image to `quay.io/libpod/rootless-cni-image:$tag` where $tag has the format `$version-$architecture`. Whenever we upload a new image (e.g., after changing the Containerfile), we need to make sure to increase the version number (an ordinary integer for simplicity) so we have a notion of support. Thanks to @AkihiroSuda for working on rootless CNI! Fixes: #7617 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'contrib/rootless-cni-infra/README.md')
-rw-r--r--contrib/rootless-cni-infra/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/rootless-cni-infra/README.md b/contrib/rootless-cni-infra/README.md
index 937e057fb..5aa13374b 100644
--- a/contrib/rootless-cni-infra/README.md
+++ b/contrib/rootless-cni-infra/README.md
@@ -16,6 +16,8 @@ Podman then allocates a CNI netns in the infra container, by executing an equiva
The allocated netns is deallocated when the container is being removed, by executing an equivalent of:
`podman exec rootless-cni-infra rootless-cni-infra dealloc $CONTAINER_ID $NETWORK_NAME`.
+The container images live on `quay.io/libpod/rootless-cni-infra`. The tags have the format `$version-$architecture`. Please make sure to increase the version number in the Containerfile (i.e., `ROOTLESS_CNI_INFRA_VERSION`) when applying changes to this directory. After committing the changes, upload the image(s) with the corresponding tag.
+
## Directory layout
* `/run/rootless-cni-infra/${CONTAINER_ID}/pid`: PID of the `sleep infinity` process that corresponds to the allocated netns