nitrictech / cli

Nitric CLI. Manage and run Nitric apps locally and deploy to any cloud.
https://nitric.io
Apache License 2.0
26 stars 10 forks source link

Container create errors on nitric start #785

Open HomelessDinosaur opened 2 months ago

HomelessDinosaur commented 2 months ago

This occurs on a nitric start, probably because it isn't being cleaned up on other project runs.

ContainerCreate: Error response from daemon: Conflict. The container name "/nitric-test-project-local-sql" is already in use by container "49c98189a52312204e50dac055998a55be177aa9485f91ee938355204b217772". You have to remove (or rename) that container to be able to reuse that name.
davemooreuws commented 2 months ago

This happens when a fatal error occurs in certain spots. The new exit service can be used to ensure the cloud services are stopped before exit.