Closed pejter closed 2 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.
-d
restart: always
This would require running the container with --rm option which disables restart or adding a setup container.
--rm
This is caused by the combination of the
-d
option andrestart: always
in the compose file. The container exits after it's done, but it's not deleted so docker restarts it.