forked from containers/bootc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request containers#543 from cgwalters/doc-container-auth
man: Add ostree-container-auth
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
% ostree-container-auth 5 | ||
|
||
# NAME | ||
ostree-container-auth description of the registry authentication file | ||
|
||
# DESCRIPTION | ||
|
||
The OSTree container stack uses the same file formats as **containers-auth(5)** but | ||
not the same locations. | ||
|
||
When running as uid 0 (root), the tooling uses `/etc/ostree/auth.json` first, then looks | ||
in `/run/ostree/auth.json`. For any other uid, the file paths used are in `${XDG_RUNTIME_DIR}/ostree/auth.json`. | ||
|
||
In the future, it is likely that a path that is supported for both "system podman" | ||
usage and ostree will be added. | ||
|
||
## FORMAT | ||
|
||
The auth.json file stores, or references, credentials that allow the user to authenticate | ||
to container image registries. | ||
It is primarily managed by a `login` command from a container tool such as `podman login`, | ||
`buildah login`, or `skopeo login`. | ||
|
||
For more information, see **containers-auth(5)**. | ||
|
||
# SEE ALSO | ||
|
||
**containers-auth(5)**, **skopeo-login(1)**, **skopeo-logout(1)** |