exit from terminal docker compose is not running code example
Example: docker compose keep container running
version: '2'
services:
my-test:
image: ubuntu
command: tail -F anything
version: '2'
services:
my-test:
image: ubuntu
command: tail -F anything