docker compose wait for container code example
Example: docker compose service wait for forever
version: '3'
services:
app:
image: node:8
tty: true # <-- This option
version: '3'
services:
app:
image: node:8
tty: true # <-- This option