You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
When forwarding a port in virtualbox so that I can see a port on a container, if the name of the port forwarding rule comes before "ssh" alphabetically, boot2docker will fail to start. I created a rule for a redis server (:6379) and named it redis. When boot2docker tries to ssh into the vm it passes 6379 as the -p argument instead of :2022. If I modify the name of the rule to "zzz", the correct port is passed to the ssh command. The below is the console output
Defined a port forwarding rule with name of redis that mapped 0.0.0.0:6379 -> 6379 in the vm.
When forwarding a port in virtualbox so that I can see a port on a container, if the name of the port forwarding rule comes before "ssh" alphabetically, boot2docker will fail to start. I created a rule for a redis server (:6379) and named it redis. When boot2docker tries to ssh into the vm it passes 6379 as the -p argument instead of :2022. If I modify the name of the rule to "zzz", the correct port is passed to the ssh command. The below is the console output
2014/07/08 16:31:29 executing: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 6379
-i C:\Users\jdonnelly.ssh\id_boot2docker docker@localhost
2014/07/08 16:31:30 exit status 255
PS C:\Program Files\Boot2Docker for Windows> .\boot2docker.exe -v ssh
2014/07/08 16:32:57 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe showvminfo boot2docker-vm --machineread
able
2014/07/08 16:32:57 executing: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -p 2022
-i C:\Users\jdonnelly.ssh\id_boot2docker docker@localhost
## .
## ## ## ==
## ## ## ## ===
/""""""""""""""""/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
____ o */
\ \ /
*_____/
| |__ ___ ___ | ||__ \ | | ___ ___| | ___ _ __
| '_ \ / _ \ / _ | | __) / _` |/ _ \ / __| |/ / _ \ '|
| |) | () | () | | / / (| | () | (| < / |
|_./ / _/ __|,|/ _||_|_|
boot2docker: 1.1.0
master : 086c429 - Fri Jul 4 01:08:20 UTC 2014
docker@boot2docker:~$ exit