summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-auto-update.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-12 03:13:12 -0700
committerGitHub <noreply@github.com>2020-05-12 03:13:12 -0700
commit2ad59d311b8c573186574cec6d4dc57bff0c3a53 (patch)
tree70697fa1d2431eb06d8128fa69f2693e156e187a /docs/source/markdown/podman-auto-update.1.md
parent7837bf3c071f1259bc08d8f9e52ed2b4edbda428 (diff)
parent1c3bd95b81e5247b7db3f8333aeb01ea58073fe9 (diff)
downloadpodman-2ad59d311b8c573186574cec6d4dc57bff0c3a53.tar.gz
podman-2ad59d311b8c573186574cec6d4dc57bff0c3a53.tar.bz2
podman-2ad59d311b8c573186574cec6d4dc57bff0c3a53.zip
Merge pull request #6186 from vrothberg/auto-update
auto-update: support authfiles
Diffstat (limited to 'docs/source/markdown/podman-auto-update.1.md')
-rw-r--r--docs/source/markdown/podman-auto-update.1.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-auto-update.1.md b/docs/source/markdown/podman-auto-update.1.md
index 93ad22f76..f98b71420 100644
--- a/docs/source/markdown/podman-auto-update.1.md
+++ b/docs/source/markdown/podman-auto-update.1.md
@@ -21,11 +21,21 @@ Note that `podman auto-update` relies on systemd and requires a fully-qualified
This enforcement is necessary to know which image to actually check and pull.
If an image ID was used, Podman would not know which image to check/pull anymore.
+## OPTIONS
+
+**--authfile**=*path*
+
+Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json, which is set using `podman login`.
+If the authorization state is not found there, $HOME/.docker/config.json is checked, which is set using `docker login`. (Not available for remote commands)
+
+Note: You can also override the default path of the authentication file by setting the REGISTRY\_AUTH\_FILE
+environment variable. `export REGISTRY_AUTH_FILE=path`
+
## EXAMPLES
```
# Start a container
-$ podman run -d busybox:latest top
+$ podman run --label "io.containers.autoupdate=image" -d busybox:latest top
bc219740a210455fa27deacc96d50a9e20516492f1417507c13ce1533dbdcd9d
# Generate a systemd unit for this container