rasodu / DLEMP

0 stars 0 forks source link

Add restart policy to production containers #1

Open rasodu opened 8 years ago

rasodu commented 8 years ago

Container should be automatically restarted during production.

Read this: -https://docs.docker.com/engine/reference/run/#restart-policies-restart -docker-docker issue 11008

It looks like at this point using 'unless-stopped' would be a good choice. Thought we still need to make sure that this option will restart the containers that are started after they were stopped once.