summaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-27 10:49:42 -0700
committerGitHub <noreply@github.com>2019-03-27 10:49:42 -0700
commit340eeec1b654880f9d339c9ac2957bcaeaee6829 (patch)
tree4256daeae13e2de6145d3b5c5be5f1929e955bbc /cmd/podman/common.go
parent1ff03ee9f5e72fd62ba8e798035fa43f8f18b6dd (diff)
parent0cd92eae65b31cdbaa19e3cccb0e3234196a6d17 (diff)
downloadpodman-340eeec1b654880f9d339c9ac2957bcaeaee6829.tar.gz
podman-340eeec1b654880f9d339c9ac2957bcaeaee6829.tar.bz2
podman-340eeec1b654880f9d339c9ac2957bcaeaee6829.zip
Merge pull request #2747 from mheon/dns_none
Add --dns=none
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 771738302..167b3e845 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -389,6 +389,10 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
"Connect a container to a network",
)
createFlags.Bool(
+ "no-hosts", false,
+ "Do not create /etc/hosts within the container, instead use the version from the image",
+ )
+ createFlags.Bool(
"oom-kill-disable", false,
"Disable OOM Killer",
)