summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2018-01-31 18:16:50 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-01 14:43:54 +0000
commit03cfe5ebbee306ee4aa84c74bbff83712e50fb1c (patch)
treed5487b66dec29fc00bd79781a70ea7221147bca1 /docs
parent2dfd048545d1def4b805a785f7259fc8f1fca22e (diff)
downloadpodman-03cfe5ebbee306ee4aa84c74bbff83712e50fb1c.tar.gz
podman-03cfe5ebbee306ee4aa84c74bbff83712e50fb1c.tar.bz2
podman-03cfe5ebbee306ee4aa84c74bbff83712e50fb1c.zip
Add authfile, cert-dir and creds params to build
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #280 Approved by: mheon
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-build.1.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/podman-build.1.md b/docs/podman-build.1.md
index 4df25603a..61c8d8aaa 100644
--- a/docs/podman-build.1.md
+++ b/docs/podman-build.1.md
@@ -24,6 +24,11 @@ to do the actual building.
## 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`.
+
**--build-arg** *arg=value*
Specifies a build argument and its value, which will be interpolated in
@@ -31,6 +36,16 @@ instructions read from the Dockerfiles in the same way that environment
variables are, but which will not be added to environment variable list in the
resulting image's configuration.
+**--cert-dir** *path*
+
+Use certificates at *path* (*.crt, *.cert, *.key) to connect to the registry
+
+**--creds** *creds*
+
+The [username[:password]] to use to authenticate with the registry if required.
+If one or both values are not supplied, a command line prompt will appear and the
+value can be entered. The password is entered without echo.
+
**-f, --file** *Dockerfile*
Specifies a Dockerfile which contains instructions for building the image,
@@ -96,6 +111,12 @@ podman build --tls-verify=true -t imageName -f Dockerfile.simple
podman build --tls-verify=false -t imageName .
+podman bud --runtime-flag log-format=json .
+
+podman bud --runtime-flag debug .
+
+podman bud --authfile /tmp/auths/myauths.json --cert-dir ~/auth --tls-verify=true --creds=username:password -t imageName -f Dockerfile.simple
+
## SEE ALSO
podman(1), buildah(1)