Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 7a29dc1

Browse files
committed
Update port references everywhere to the new SSL port
1 parent 1d0b71b commit 7a29dc1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ login via SSH.
99
On Windows, [MSYS SSH](http://www.mingw.org/) provides a first class way to
1010
connect to the boot2docker VM using `boot2docker.exe ssh`.
1111

12-
> **Note:** Docker now has an [IANA registered IP Port: 2375]( http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker)
12+
> **Note:** Docker now has an [IANA registered IP Port: 2376]( http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=docker)
1313
> , so the use of port 4243 is deprecated. This also means that new Boot2Docker
1414
> ISO releases and management tool are not compatible.
1515
@@ -161,8 +161,8 @@ Memory = 2048
161161
# host port forwarding to port 22 in the VM
162162
SSHPort = 2022
163163

164-
# host port forwarding to port 2375 in the VM
165-
DockerPort = 2375
164+
# host port forwarding to port 2376 in the VM
165+
DockerPort = 2376
166166

167167
# host-only network host IP
168168
HostIP = "192.168.59.3"

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func config() (*flag.FlagSet, error) {
110110
flags.UintVarP(&B2D.DiskSize, "disksize", "s", 20000, "boot2docker disk image size (in MB).")
111111
flags.UintVarP(&B2D.Memory, "memory", "m", 2048, "virtual machine memory size (in MB).")
112112
flags.Uint16Var(&B2D.SSHPort, "sshport", 2022, "host SSH port (forward to port 22 in VM).")
113-
flags.Uint16Var(&B2D.DockerPort, "dockerport", 0, "host Docker port (forward to port 2375 in VM). (deprecated - use with care)")
113+
flags.Uint16Var(&B2D.DockerPort, "dockerport", 0, "host Docker port (forward to port 2376 in VM). (deprecated - use with care)")
114114
flags.IPVar(&B2D.HostIP, "hostip", net.ParseIP("192.168.59.3"), "VirtualBox host-only network IP address.")
115115
flags.IPMaskVar(&B2D.NetMask, "netmask", flag.ParseIPv4Mask("255.255.255.0"), "VirtualBox host-only network mask.")
116116
flags.BoolVar(&B2D.DHCPEnabled, "dhcp", true, "enable VirtualBox host-only network DHCP.")

driver/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type MachineConfig struct {
2626

2727
// NAT network: port forwarding
2828
SSHPort uint16 // host SSH port (forward to port 22 in VM)
29-
DockerPort uint16 // host Docker port (forward to port 2375 in VM)
29+
DockerPort uint16 // host Docker port (forward to port 2376 in VM)
3030

3131
// host-only network
3232
HostIP net.IP

driver/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type MachineState string
1212
const (
1313
// Known ports
1414
SSHPort = 22
15-
DockerPort = 2375
15+
DockerPort = 2376
1616

1717
// VM states
1818
Poweroff = MachineState("poweroff")

0 commit comments

Comments
 (0)