summaryrefslogtreecommitdiff
path: root/libpod/oci.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-03-10 14:25:13 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-03-10 14:25:13 -0400
commit54fd1a7bb962fbce828dd2fb2295518e3c706d8f (patch)
tree69c634978e14f258a1cb78fbb1167c3d19e6b552 /libpod/oci.go
parenteb3dd9415905b0b66dd8ce30cb6be21939fb4454 (diff)
downloadpodman-54fd1a7bb962fbce828dd2fb2295518e3c706d8f.tar.gz
podman-54fd1a7bb962fbce828dd2fb2295518e3c706d8f.tar.bz2
podman-54fd1a7bb962fbce828dd2fb2295518e3c706d8f.zip
Fix generation of infra container command
When sourcing from an image, we need to grab its entrypoint first and then add command on to mimic the behavior of Docker. The default Kube pause image just sets ENTRYPOINT, and not CMD, so nothing changes there, but this ought to fix other images (for example, nginx would try to run the pause command instead of an nginx process without this patch) Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/oci.go')
0 files changed, 0 insertions, 0 deletions