Skip to main content

Keep container running infinite

  • Sometimes I want to start docker just to execute command inside the container, this is useful command: tail -f /dev/null
version: '3'
services:
some-app:
command: tail -f /dev/null