Need to set the Entrypoint

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2020-04-20 17:15:04 -04:00
parent fc76fbf945
commit 64f774866a
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
1 changed files with 2 additions and 0 deletions

View File

@ -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 {