-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Remove orphans is stopping containers unrelated to DockSTARTer #1333
Comments
This is a valid concern. We also have a I think a concern is if you disable something in DS, right now the workflow is you just run Since the main goal of DS is to be user friendly I do feel like seeking some kind of solution is needed. On the other hand, I want DS to be friendly for more advanced users as well, and this issue is definitely something that should be considered. For now, I can recommend a band-aid fix for your immediate needs: https://dockstarter.com/overrides/introduction/ I'll think on this and look around for options. |
Thanks for your quick reply. I am familiar with the override file. I'm using it already to add traefik labels to some DS services. I'll see if it's worth moving my other services into the override file to work around the problem. Thanks for the tip. I'll keep an eye open in case you come up with a more elegant alternative. And of course, I'll let you know (or send a PR) if I think of a better solution myself. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This doesn't need to be stale. |
Bug report
Describe the bug
When running
ds -c up
, existing containers (created outside of DockSTARTer) are being removed.To Reproduce
Steps to reproduce the behavior:
docker-compose up -d
for a stack outside of DockSTARTer e.g.traefik
docker ps
ds -v -c up
on your existing stackExpected behavior
DockSTARTer shouldn't touch existing containers created in a different stack. DS containers should start up without the
--remove-orphans
I see that this behavior is intentional and was introduced in PR 210. It's a nice to have, but I think it should be optional. So,
ds -c up
should accept run without the--remove-orphans
flag and accept this flag if it is desired by the user:ds -c up --remove-orphans
.System
(please complete the following information):
Additional context
Not sure if this is relevant, but I'm running
docker-compose
in my system via the linuxserver image.The text was updated successfully, but these errors were encountered: