docker-compose certain service only during development 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