-
-
Notifications
You must be signed in to change notification settings - Fork 97
Remove IP from docker-compose.vbox.yml bind #29
Comments
Hello, 192.168.56.1 is the default VirtualBox host-only interface’s IP-address. While it seems inconvenient to define it explicitly, I would say it is just the sane default that I set, because I’m not sure that anyone should ever expose ports to all interfaces. At the same time if your host-only iface doesn’t have an 192.168.56.1 ip, you gotta change config files anyway. But I do not insist on my approach, so it is up to @blacktop. |
I have seen weird behavior running docker as root in the past. It sounds like @0xpookie (or @pooki3bear when they are not at work? 😉) is running it the same way you were running it right @ilyaglow ? |
We could add more automation around detecting the VirtBox IP and auto setting it inside the container? We could also auto set config based on env vars like I'm doing here: https://github.com/blacktop/docker-kafka-alpine/blob/master/1.0/scripts/configure-kafka.sh#L56 |
Sure, we can use env and pass it to an entrypoint script, which will do the stuff needed. The same approach could be applied for setting up vboxweb ip and user/pass pair. |
怎么扫描 |
incorrect IP bind in docker-compose.vbox.yml, see below. changing to 2042:2042 in the Dockerfile resolves.
The text was updated successfully, but these errors were encountered: