mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
set interactive mode with compat create endpoint
when creating a container using the compat endpoint, the interactive bool was being hard set to false and ignoring the user's input. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user