AdventureLookup / adventurelookup-backend

Platform, Framework, Database software
GNU General Public License v3.0
28 stars 7 forks source link

One-off containers are constantly restarting after completing the task #12

Closed pejter closed 2 years ago

pejter commented 8 years ago

This is caused by the combination of the -d option and restart: always in the compose file. The container exits after it's done, but it's not deleted so docker restarts it.

pejter commented 8 years ago

This would require running the container with --rm option which disables restart or adding a setup container.