summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/containers_create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-24 09:46:46 +0000
committerGitHub <noreply@github.com>2020-09-24 09:46:46 +0000
commit9765619787c494b8cb53ec15e45e0b3c64eee498 (patch)
tree4880f9fea73d3bb4020fad245655e0c5cc38eeeb /pkg/api/handlers/compat/containers_create.go
parentc3d1cefa02cf631cbca87a47101b0862cdc6832b (diff)
parent139100a1f459da733c4e474a62db3d0736474158 (diff)
downloadpodman-9765619787c494b8cb53ec15e45e0b3c64eee498.tar.gz
podman-9765619787c494b8cb53ec15e45e0b3c64eee498.tar.bz2
podman-9765619787c494b8cb53ec15e45e0b3c64eee498.zip
Merge pull request #7761 from baude/interactive
set interactive mode with compat create endpoint
Diffstat (limited to 'pkg/api/handlers/compat/containers_create.go')
-rw-r--r--pkg/api/handlers/compat/containers_create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/containers_create.go b/pkg/api/handlers/compat/containers_create.go
index 93e4fe540..1d0b4c45d 100644
--- a/pkg/api/handlers/compat/containers_create.go
+++ b/pkg/api/handlers/compat/containers_create.go
@@ -210,7 +210,7 @@ func makeCreateConfig(ctx context.Context, containerConfig *config.Config, input
ImageID: newImage.ID(),
BuiltinImgVolumes: nil, // podman
ImageVolumeType: "", // podman
- Interactive: false,
+ Interactive: input.OpenStdin,
// IpcMode: input.HostConfig.IpcMode,
Labels: input.Labels,
LogDriver: input.HostConfig.LogConfig.Type, // is this correct