-
Notifications
You must be signed in to change notification settings - Fork 302
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
Restrict To Specific Containers #83
Comments
Hmm...It's not possible right now. But I could add it. What's your use case? Is it that important to hide other containers for you? |
Thanks for getting back so quick! |
Nice. That would be a good addition to mdoq. It would be really nice to get a PR. I am really busy at work so won't have much time to work on this until next week. But I can review and merge. Here are some things that might get you going with building Dozzle:
Here is what you would need to change:
I hope this helps. Let me know if you have any questions. |
Nice one, PR raised |
Should be fixed in #85 |
@adamzero1 Released v1.12 can you try it out? |
@amir20 looks to be working version: "3"
services:
dozzle:
container_name: dozzle
image: amir20/dozzle:latest
environment:
- DOZZLE_CONTAINERRESTRICTIONS=6893-.*
- DOZZLE_TAILSIZE=100
- DOZZLE_FILTERNAME=6893-.*
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9999:8080 Only issue is we have now lost the ability to pass in any other kind of filter. We are forced to filter on name. I had thought you wanted it more generic. where you could pass in something like: DOZZLE_FILTERNAME=name=6893-.* It still works for what I need though, nice one! |
Ah I see. Did you have that in your PR? I may have not pulled the latest. Sorry if I missed it. I looked at the filters and it seemed like On a plus a side, you don't need |
I now see https://github.com/amir20/dozzle/pull/84/files#diff-210c31cd49f34ac9a1fcc99dd77d9030R48. Maybe it makes sense to add that back? I like that you can also filter based on labels. Which will probably make a lot of sense for people. |
@adamzero1 I added this back in #87. |
Sorry have had a hectic few days, yeah opening up so it wasn't name filter specific would be better overall I feel. |
No worries. Sounds good. The feature should be deployed now. Thanks for your help and PR. It was an interesting feature I hadn't thought of. |
I'm wondering if it would be possible to restrict the list of availble containers?
E.g 1 host with 2 projects, would be good if you could restict to only show containers from 1 project
The text was updated successfully, but these errors were encountered: