Port forward not working on a macOS installation but works on others

Hello! In case of someone has not yet solved this issue, this is my workaround:
Happens the docker daemon is not actually running inside of Mac itself like in a Linux box, but inside of a VM (since I installed it from [home]brew, it is running in a VirtualBox instance), so I changed the networking settings of that VM to use the “bridge adapter”, I restarted the VM, then I restarted the docker containers, and now I can access to my containers by addressing them to the IP of their VM. From Mac, the command still docker works.

1 Like