You are required to use winpty with docker exec [Windows]

environment

windows10 SourceTree (Git for Windows) docker desktop version 2.3.0.5

phenomenon

When entering a container in the SourceTree terminal, the following symptom occurred.

$ docker exec -it container bash
the input device is not a TTY.  If you are using mintty, try prefixing the command with 'winpty'

Correspondence

Specify winpty.

$ winpty docker exec -it container bash

reference

[Git for Windows] What is tty / mintty / winpty [Git bash] https://unrealman.hatenablog.com/entry/tty-mintty-winpty

Recommended Posts

You are required to use winpty with docker exec [Windows]
[Rails] How to use rails console with docker
You use context to use MDC with Spring WebFlux
How to use docker compose with NVIDIA Jetson
Introduce docker to the application you are creating
How to use nginx-ingress-controller with Docker for Mac
Use Puphpeteer with Docker
Use ngrok with Docker
If you want to use Mockito with Kotlin, use mockito-kotlin
Use GDAL with Python with Docker
Use docker's in-container shell with cygwin [docker exec -it bash]
How to use mysql with M1 mac Docker preview version
docker-compose.yml when you want to keep mysql running with docker
[Docker] Use whenever with Docker + Rails
Are you still using anyenv? Let's go more easily with Docker?
Make a C compiler to use with Rust x CLion with Docker
[For those who create portfolios] How to use binding.pry with Docker
Why use orchestration tools with Docker
Use Docker Compose on Windows 10 Home
How to use mssql-tools with alpine
[Artifactory] How to use Docker repository
Update MySQL from 5.7 to 8.0 with Docker
Use cuda11.0 with pytorch using Docker
How to start Camunda with Docker
eclipse I definitely want you to use Transcendental Recommended Shortcut Key (Windows)
What to do if you have enabled Use the WSL2 based engine in Docker Desktop with insufficient WSL2 installation
How to use mysql with M1 mac Docker preview version
How to share files with Docker Toolbox
If you dare to compare Integer with "==" ...
[Docker] Building an environment to use Hugo
Deploy to heroku with Docker (Rails 6, MySQL)
I want to use DBViewer with Eclipse 2018-12! !!
Use Symbolic Link with Docker multi-stage builds
How to use Docker in VSCode DevContainer
Introduced vscode with apt to docker: ubuntu
Try to use docker command without sudo.
Understand in 5 minutes !! How to use Docker
Time shift measures with Docker for Windows
How to run Blazor (C #) with Docker
Use ZStandard with .NET Core + Docker (Alpine)
How to build Rails 6 environment with Docker
Introduced Docker to Windows 10 Home August 2020 version
Connect with VS Code from a Windows client to Docker on another server
Until you run a Java program with the AWS SDK local to Windows
How to start with Hyper-V instead of WSL2 on Docker Desktop for Windows
Are you still exhausted with CollectionView? CompositionalLayout starting from iOS12 ~ From implementation to design ~
Ubuntu proxy settings (for those who are having trouble with on-campus proxies, assuming environment to use Docker, kubernetes, etc.)