Skip to content
This repository was archived by the owner on Apr 28, 2018. It is now read-only.
This repository was archived by the owner on Apr 28, 2018. It is now read-only.

cannot attach to conatiner in remoting session #161

Description

@rs38

Get-Container | Attach-Container

Attach-Container : The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
+ CategoryInfo : NotSpecified: (:) [Enter-ContainerSession], COMException
+ FullyQualifiedErrorId : Docker Client Exception,Docker.PowerShell.Cmdlets.EnterContainerSession

same with Enter-ContainerSession

reproduce:
PS remote to nanoserver VM, run detached container, try to enter with commands above.

when doing the same with docker attach, I get an error that TTY is not supported.

I was told by Patrick Lang (@PatrickLang) in the MSDN Container Docs Repo that it should work with Docker PS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions