From f53d1dde1a6f45eaec2edabfd8f84bb174ca8d33 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Mon, 25 Jun 2018 10:53:09 -0400 Subject: [PATCH] Add info on registries.conf to from manpage Signed-off-by: TomSweeneyRedHat Closes: #817 Approved by: rhatdan --- docs/buildah-from.md | 6 ++++++ docs/buildah-inspect.md | 2 ++ 2 files changed, 8 insertions(+) diff --git a/docs/buildah-from.md b/docs/buildah-from.md index f6ab9c8ec..dfa85961f 100644 --- a/docs/buildah-from.md +++ b/docs/buildah-from.md @@ -32,6 +32,12 @@ Multiple transports are supported: **ostree:**_image_[**@**_/absolute/repo/path_] An image in local OSTree repository. _/absolute/repo/path_ defaults to _/ostree/repo_. +### DEPENDENCIES + +Buildah resolves the path to the registry to pull from by using the /etc/containers/registries.conf +file, registries.conf(5). If the `buildah from` command fails with an "image not known" error, +first verify that the registries.conf file is installed and configured appropriately. + ## RETURN VALUE The container ID of the container that was created. On error, 1 is returned and errno is returned. diff --git a/docs/buildah-inspect.md b/docs/buildah-inspect.md index af83cb2db..b86365a59 100644 --- a/docs/buildah-inspect.md +++ b/docs/buildah-inspect.md @@ -33,5 +33,7 @@ buildah inspect --type container containerID buildah inspect --type image imageID +buildah inspect --format '{{.OCIv1.Config.Env}}' alpine + ## SEE ALSO buildah(1)