Skip to content

Docker tty is not a tty with docker exec #8755

@MichaelBitard

Description

@MichaelBitard

When I enter a running docker with "docker exec -ti mydockerinstance /bin/bash"

tty returns: not a tty and tmux doesn't work.

I tried several things from #728:
docker exec -ti mydockerinstance sh -c "exec >/dev/tty 2>/dev/tty </dev/tty && /usr/bin/tmux -s /bin/bash"
getty tty
but nothing succeded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions