summaryrefslogtreecommitdiff
path: root/pkg/adapter/containers.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-11 13:06:39 -0700
committerGitHub <noreply@github.com>2019-04-11 13:06:39 -0700
commit272f10f1bbf885c15b7a02175804020d71a5f992 (patch)
treed5920429a440d86231a27c58c905e1cefb75a97c /pkg/adapter/containers.go
parent745993b592903544e5a3b38ae9336e65c56874f4 (diff)
parent495f2ce5150bc8ab042a24967a08da22a2465b3b (diff)
downloadpodman-272f10f1bbf885c15b7a02175804020d71a5f992.tar.gz
podman-272f10f1bbf885c15b7a02175804020d71a5f992.tar.bz2
podman-272f10f1bbf885c15b7a02175804020d71a5f992.zip
Merge pull request #2902 from baude/remoteattachfixes
Fixes for podman-remote run and attach
Diffstat (limited to 'pkg/adapter/containers.go')
-rw-r--r--pkg/adapter/containers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/adapter/containers.go b/pkg/adapter/containers.go
index a9b3232e7..d4e8e30d9 100644
--- a/pkg/adapter/containers.go
+++ b/pkg/adapter/containers.go
@@ -255,14 +255,14 @@ func (r *LocalRuntime) Log(c *cliconfig.LogsValues, options *libpod.LogOptions)
// CreateContainer creates a libpod container
func (r *LocalRuntime) CreateContainer(ctx context.Context, c *cliconfig.CreateValues) (string, error) {
- results := shared.NewIntermediateLayer(&c.PodmanCommand)
+ results := shared.NewIntermediateLayer(&c.PodmanCommand, false)
ctr, _, err := shared.CreateContainer(ctx, &results, r.Runtime)
return ctr.ID(), err
}
// Run a libpod container
func (r *LocalRuntime) Run(ctx context.Context, c *cliconfig.RunValues, exitCode int) (int, error) {
- results := shared.NewIntermediateLayer(&c.PodmanCommand)
+ results := shared.NewIntermediateLayer(&c.PodmanCommand, false)
ctr, createConfig, err := shared.CreateContainer(ctx, &results, r.Runtime)
if err != nil {