summaryrefslogtreecommitdiff
path: root/cmd/podman/images/build.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-03-07 08:19:50 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2021-03-08 13:46:42 -0500
commit9eac4a7f7b866ef9d9491000de626e8c31e17576 (patch)
treec376f134774397ad87e2f67890093b928069431e /cmd/podman/images/build.go
parentb386d23bf01a1f3b0a604468803189625ef7b902 (diff)
downloadpodman-9eac4a7f7b866ef9d9491000de626e8c31e17576.tar.gz
podman-9eac4a7f7b866ef9d9491000de626e8c31e17576.tar.bz2
podman-9eac4a7f7b866ef9d9491000de626e8c31e17576.zip
podman-remote build does not support volumes
Remove --volume option from podman-remote since it is not supported, also add information to podman-build man page indicating options not supported over remote connections. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/images/build.go')
-rw-r--r--cmd/podman/images/build.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/images/build.go b/cmd/podman/images/build.go
index cd23557db..3b34a6bf6 100644
--- a/cmd/podman/images/build.go
+++ b/cmd/podman/images/build.go
@@ -170,6 +170,7 @@ func buildFlags(cmd *cobra.Command) {
_ = flags.MarkHidden("signature-policy")
_ = flags.MarkHidden("tls-verify")
_ = flags.MarkHidden("compress")
+ _ = flags.MarkHidden("volume")
}
}