How does port forwarding work with docker-machine?
I recently installed the docker toolkit and spun up a container. However I cannot reach it on my local mac as.
Is this Port forwarding in docker-machine? using VBoxManage
the best way to access the running docker container using my OSX browser?
要将端口转发从命令行添加到正在运行的boot2docker VM,请使用以下命令:
VBoxManage controlvm boot2docker-vm natpf1 "default,tcp,127.0.0.1,1234,,1234"
After restarting kitematic & the docker-host default VM. The container appeared in kitematic and the bound URL.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.