version: '3' services: myservice: image: myimage command: tail -f /dev/null
command: tail -f /dev/null 만 추가해줘도 아무런 행동도 하지 않지만 꺼지지 않는 컨테이너르 만들 수 있다.