docker compose stop the container after exit from terminal 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