summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-21 10:12:03 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-07-22 13:42:56 -0400
commita5f5e45c4b08f2c74409194836d6fb7aa05fa4c1 (patch)
treec2e0791a88c2d6ae7938c0f1a8192fceb9131759 /cmd/podman/common/create.go
parent092ff38129cd31badda0ed8801a89f3c032fa08b (diff)
downloadpodman-a5f5e45c4b08f2c74409194836d6fb7aa05fa4c1.tar.gz
podman-a5f5e45c4b08f2c74409194836d6fb7aa05fa4c1.tar.bz2
podman-a5f5e45c4b08f2c74409194836d6fb7aa05fa4c1.zip
Add noop function disable-content-trust
People who use docker scripts with Podman see failures if they use disable-content-trust flag. This flag already existed for podman build, adding it to pull/push/create/run. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common/create.go')
-rw-r--r--cmd/podman/common/create.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go
index 3f2d7b2b0..5f3198ed6 100644
--- a/cmd/podman/common/create.go
+++ b/cmd/podman/common/create.go
@@ -154,6 +154,10 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet {
"device-write-iops", []string{},
"Limit write rate (IO per second) to a device (e.g. --device-write-iops=/dev/sda:1000)",
)
+ createFlags.Bool(
+ "disable-content-trust", false,
+ "This is a Docker specific option and is a NOOP",
+ )
createFlags.String("entrypoint", "",
"Overwrite the default ENTRYPOINT of the image",
)