約113件1ページ目

日本語のみで絞り込む

By default, Compose will enter container in interactive mode and allocate a TTY, while the equivalent docker exec command requires passing --interactive --tty ...

2021/3/15 -Once you add a tty to the container, bash will be able to create interactive session and the container will be started. CONTAINER ID IMAGE ...

2026/3/11 -Commands allocate a TTY by default, so you can use a command such as docker compose exec web sh to get an interactive prompt. By default, ...

2019/8/8 -Hi, In other project with a sql linux image, I had to add a tty: true to make the container run and not exiting with code 0.

2026/2/24 -We'll get things to dynamically work with stdin and stdout and allow reusing Docker Compose commands when a TTY is available.

2022/5/9 -It's supposed that -T and --no-TTY are equivalent parameters. When using -T the build succeeds but fails with --no-TTY .

2022/4/10 -If you write “tty: true” in the docker-compose.yml, you will be able to “keep the container running”. He said, when the containers are started ...

The `-T` flag in `docker compose exec` disables pseudo-TTY allocation, which is useful when you don't want an interactive terminal or when piping output.

With this subcommand you can run arbitrary commands in your services. Commands are by default allocating a TTY, so you can use a command such as docker-compose ...

2024/2/25 -Trying to understand the relation of tty between the host and container when the docker run command is executed · creation of the container ...