diff options
-rw-r--r-- | libpod/container_attach.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/container_attach.go b/libpod/container_attach.go index 8b0aaed06..f5b97c2dd 100644 --- a/libpod/container_attach.go +++ b/libpod/container_attach.go @@ -49,12 +49,6 @@ func (c *Container) attach(streams *AttachStreams, keys string, resize <-chan re return errors.Wrapf(ErrInvalidArg, "must provide at least one stream to attach to") } - // Do not allow stdin on containers without Stdin set - // Conmon was not configured properly - if streams.AttachInput && !c.config.Stdin { - return errors.Wrapf(ErrInvalidArg, "this container was not created as interactive, cannot attach stdin") - } - // Check the validity of the provided keys first var err error detachKeys := []byte{} |