mirror of https://github.com/containers/podman.git
Merge pull request #15342 from edsantiago/docs_dedup_authfile
Man pages: refactor common options: authfile
This commit is contained in:
commit
f50970ab6c
|
@ -1,8 +1,17 @@
|
|||
podman-auto-update.1.md
|
||||
podman-build.1.md
|
||||
podman-container-clone.1.md
|
||||
podman-container-runlabel.1.md
|
||||
podman-create.1.md
|
||||
podman-image-sign.1.md
|
||||
podman-kube-play.1.md
|
||||
podman-login.1.md
|
||||
podman-logout.1.md
|
||||
podman-manifest-add.1.md
|
||||
podman-manifest-push.1.md
|
||||
podman-pod-clone.1.md
|
||||
podman-pod-create.1.md
|
||||
podman-pull.1.md
|
||||
podman-push.1.md
|
||||
podman-run.1.md
|
||||
podman-search.1.md
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is `${XDG_RUNTIME_DIR}/containers/auth.json`, which is set using **[podman login](podman-login.1.md)**.
|
||||
If the authorization state is not found there, `$HOME/.docker/config.json` is checked, which is set using **docker login**.
|
||||
|
||||
Note: There is also the option to override the default path of the authentication file by setting the `REGISTRY_AUTH_FILE` environment variable. This can be done with **export REGISTRY_AUTH_FILE=_path_**.
|
|
@ -34,12 +34,8 @@ Systemd units that start and stop a container cannot run a new image.
|
|||
Podman ships with a `podman-auto-update.service` systemd unit. This unit is triggered daily at midnight by the `podman-auto-update.timer` systemd timer. The timer can be altered for custom time-based updates if desired. The unit can further be invoked by other systemd units (e.g., via the dependency tree) or manually via **systemctl start podman-auto-update.service**.
|
||||
|
||||
## OPTIONS
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is `${XDG_RUNTIME_DIR}/containers/auth.json`, which is set using **[podman login](podman-login.1.md)**.
|
||||
If the authorization state is not found there, `$HOME/.docker/config.json` is checked, which is set using **docker login**.
|
||||
|
||||
Note: There is also the option to override the default path of the authentication file by setting the `REGISTRY_AUTH_FILE` environment variable. This can be done with **export REGISTRY_AUTH_FILE=_path_**.
|
||||
@@option authfile
|
||||
|
||||
#### **--dry-run**
|
||||
|
|
@ -68,16 +68,7 @@ pulled, if the build uses one, to the provided value instead of using the
|
|||
architecture of the build host. (Examples: arm, arm64, 386, amd64, ppc64le,
|
||||
s390x)
|
||||
|
||||
#### **--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`.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--build-arg**=*arg=value*
|
||||
|
||||
|
|
|
@ -29,11 +29,8 @@ As specified by the `--name` option. The format is identical to the one of the
|
|||
Will be replaced with the current working directory.
|
||||
|
||||
## OPTIONS
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the containers-auth.json(5) 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`.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
|
@ -83,12 +83,7 @@ error. It can even pretend to be a TTY (this is what most command line
|
|||
executables expect) and pass along signals. The **-a** option can be set for
|
||||
each of stdin, stdout, and stderr.
|
||||
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
@@option blkio-weight
|
||||
|
||||
|
|
|
@ -19,12 +19,7 @@ By default, the signature will be written into `/var/lib/containers/sigstore` fo
|
|||
|
||||
Sign all the manifests of the multi-architecture image (default false).
|
||||
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
|
@ -112,13 +112,7 @@ and as a result environment variable `FOO` will be set to `bar` for container `c
|
|||
|
||||
@@option annotation.container
|
||||
|
||||
#### **--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`.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--build**
|
||||
|
||||
|
|
|
@ -28,12 +28,7 @@ For more details about format and configurations of the auth.json file, please r
|
|||
|
||||
## OPTIONS
|
||||
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
|
@ -25,12 +25,7 @@ All the cached credentials can be removed by setting the **all** flag.
|
|||
|
||||
Remove the cached credentials for all registries in the auth file
|
||||
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--help**, **-h**
|
||||
|
|
@ -33,13 +33,7 @@ the image. If *imageName* refers to a manifest list or image index, the
|
|||
architecture information will be retrieved from it. Otherwise, it will be
|
||||
retrieved from the image's configuration information.
|
||||
|
||||
#### **--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`.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
|
@ -19,13 +19,7 @@ The list image's ID and the digest of the image's manifest.
|
|||
Push the images mentioned in the manifest list or image index, in addition to
|
||||
the list or index itself. (Default true)
|
||||
|
||||
#### **--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`.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
|
@ -51,13 +51,7 @@ All tagged images in the repository will be pulled.
|
|||
|
||||
@@option arch
|
||||
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. If the authorization state is not found there, `$HOME/.docker/config.json` is checked, which is set using `docker login`.
|
||||
|
||||
Default is `${XDG\_RUNTIME\_DIR}/containers/auth.json`, which is set using `podman login`.
|
||||
|
||||
*IMPORTANT: The default path of the authentication file can be overwritten by setting the `REGISTRY\_AUTH\_FILE` environment variable. `export REGISTRY_AUTH_FILE=path`*
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
||||
|
|
|
@ -47,13 +47,7 @@ $ podman push myimage oci-archive:/tmp/myimage
|
|||
|
||||
## 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`.
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--cert-dir**=*path*
|
||||
|
|
@ -100,12 +100,7 @@ error. It can even pretend to be a TTY (this is what most commandline
|
|||
executables expect) and pass along signals. The **-a** option can be set for
|
||||
each of **stdin**, **stdout**, and **stderr**.
|
||||
|
||||
#### **--authfile**=*[path]*
|
||||
|
||||
Path to the authentication file. Default is *${XDG_RUNTIME_DIR}/containers/auth.json*.
|
||||
|
||||
Note: You can also override the default path of the authentication file by setting the **REGISTRY_AUTH_FILE**
|
||||
environment variable.
|
||||
@@option authfile
|
||||
|
||||
@@option blkio-weight
|
||||
|
||||
|
|
|
@ -30,12 +30,7 @@ Further note that searching without a search term will only work for registries
|
|||
|
||||
## OPTIONS
|
||||
|
||||
#### **--authfile**=*path*
|
||||
|
||||
Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json
|
||||
|
||||
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`
|
||||
@@option authfile
|
||||
|
||||
#### **--compatible**
|
||||
|
Loading…
Reference in New Issue