diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-24 09:46:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 09:46:46 +0000 |
commit | 9765619787c494b8cb53ec15e45e0b3c64eee498 (patch) | |
tree | 4880f9fea73d3bb4020fad245655e0c5cc38eeeb /pkg | |
parent | c3d1cefa02cf631cbca87a47101b0862cdc6832b (diff) | |
parent | 139100a1f459da733c4e474a62db3d0736474158 (diff) | |
download | podman-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')
-rw-r--r-- | pkg/api/handlers/compat/containers_create.go | 2 |
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 |