Skip to content

sql:cli fails in containerized environments (Docker, ddev) - false positive stdin detection and missing TTY #6521

@douggreen

Description

@douggreen

When SSH'd into a server and running drush sqlc (directly or via ddev), Drush can't detect the TTY properly; this is evident with drush sqlc which exits immediately without landing at a prompt.

In my case, I'm ssh'd into a local user and running ddev under that user, so multiple levels of ssh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions