how to keep a container up on docker-compose up command code example
Example 1: docker compose up only one service
$ docker-compose up -d client
Example 2: docker compose keep container running
version: '2'
services:
my-test:
image: ubuntu
command: tail -F anything