keep container running - jenhaoyang/backend_blog GitHub Wiki

version: '2'
services:
  my-test:
    image: ubuntu
    command: tail -F anything

參考:
https://stackoverflow.com/a/45450456