docker-compose.yml run image as forground process 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