title: Run command in Docker Container only on the first start
body: <p>I have a Docker Image which uses a Script (<code>/bin/bash /init.sh</code>) as Entrypoint. I would like to execute this script only on the first start of a container. It should be omitted when the containers is restarted or started again after a crash of the docker daemon.</p>
  
  <p>Is there any way to do this with docker itself, or do if have to implement some kind of check in the script?</p>