chipmk / docker-mac-net-connect

Connect directly to Docker-for-Mac containers via IP address 🐳 💻
MIT License
402 stars 41 forks source link

Can you filter specific networks? #15

Open michelesr opened 2 years ago

michelesr commented 2 years ago

Hello there. Thanks for this plugin, it's very useful. Is there a way to filter networks by name? I'm using this with minikube to expose the cluster and I'd like to only create a network interface for the docker network called minikube. Is that something that can be done, e.g. by setting envvars or a config file?

gregnr commented 1 year ago

Hey @michelesr sorry for the delay. Great idea - this should be possible with a config file. We don't have a config file yet for this tool, but definitely something worth including regardless. Happy to review a PR, or otherwise I will follow up here when I get a chance to implement this.