summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-04-20 17:15:04 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-04-21 05:18:39 -0400
commit64f774866a37d2dc0d37d876d1bf3a96c4b04160 (patch)
tree079e8b8b9a5fa157b4615fc909bf5e022f23f96a /cmd
parentfc76fbf945d98e4d4203e3ce2aa7029a85c629b2 (diff)
downloadpodman-64f774866a37d2dc0d37d876d1bf3a96c4b04160.tar.gz
podman-64f774866a37d2dc0d37d876d1bf3a96c4b04160.tar.bz2
podman-64f774866a37d2dc0d37d876d1bf3a96c4b04160.zip
Need to set the Entrypoint
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/common/specgen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/common/specgen.go b/cmd/podman/common/specgen.go
index 1eb8fc0bd..4e2ce1e34 100644
--- a/cmd/podman/common/specgen.go
+++ b/cmd/podman/common/specgen.go
@@ -268,6 +268,8 @@ func FillOutSpecGen(s *specgen.SpecGenerator, c *ContainerCLIOpts, args []string
var command []string
+ s.Entrypoint = entrypoint
+
// Build the command
// If we have an entry point, it goes first
if len(entrypoint) > 0 {