Replies: 1 comment 1 reply
-
Are you trying to use persistent containers as an easy way to setup a container that is always running on your machine? There might be a mismatch on the expected use case. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a solution where the container is added with something like this:
I love the
ContainerLifetime.Persistent
as it saves me a lot of time between runs.Anyway, the container is only usable when the solution is running: as soon as you shut down the application the container is still running but the ports are "removed" and the
qdrant
dashboard cannot be reached anymore.From Docker Destkop, when the Aspire solution is stopped I see the following:
vibrant_joloit
container was created by myself, it's obviously stopped but you can clearly see the port mappings being persistedvectorDB-db4a9ca4
was created by Aspire, it is still running because of theContainerLifetime.Persistent
but has no port mappings and cannot be reachedIf I run the Aspire solution again, the
qdrant
dashboard can be reached again.Is there a way for Aspire to persist the port and volume settings persisted so that it can be always reached?
Beta Was this translation helpful? Give feedback.
All reactions