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

Commit 258d32f

Browse files
Sven DowideitSven Dowideit
authored andcommitted
Merge pull request #122 from SvenDowideit/update-readme
gosh, I just simplified how the config stuff gets done, but there's stil...
2 parents 15e0e7f + a5c5539 commit 258d32f

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ boot2docker vm, which you can then use to access ports you map from your contain
106106

107107
## Configuration
108108

109-
The `boot2docker` binary reads configuration from `$BOOT2DOCKER_PROFILE`, or
110-
if not found, from `$BOOT2DOCKER_DIR/profile`. `boot2docker config` will
109+
The `boot2docker` binary reads configuration from `$BOOT2DOCKER_PROFILE` if set, or
110+
`$BOOT2DOCKER_DIR/profile` or `$HOME/.boot2docker/profile` or (on Windows)
111+
`$USERPROFILE/.boot2docker/profile`. `boot2docker config` will
111112
tell you where it is looking for the file, and will also output the settings that
112113
are in use, so you can initialise a default file to customise using
113114
`boot2docker config > /home/sven/.boot2docker/profile`.
@@ -119,49 +120,48 @@ default values):
119120
# Comments must be on their own lines; inline comments are not supported.
120121

121122
# path to VirtualBox management utility
122-
vbm="VBoxManage"
123+
VBM = "VBoxManage"
123124

124125
# path to SSH client utility
125-
ssh="ssh"
126+
SSH = "ssh"
127+
SSHGen = "ssh-keygen"
128+
SSHKey = "/Users/sven/.ssh/id_boot2docker"
126129

127130
# name of boot2docker virtual machine
128-
vm="boot2docker-vm"
129-
130-
# path to boot2docker config directory
131-
dir="$HOME/.boot2docker"
131+
VM = "boot2docker-vm"
132132

133133
# path to boot2docker ISO image
134-
iso="$BOOT2DOCKER_DIR/boot2docker.iso"
134+
ISO = "/Users/sven/.boot2docker/boot2docker.iso"
135135

136136
# VM disk image size in MB
137-
disksize=20000
137+
DiskSize = 20000
138138

139139
# VM memory size in MB
140-
memory=1024
140+
Memory = 1024
141141

142142
# host port forwarding to port 22 in the VM
143-
sshport=2022
143+
SSHPort = 2022
144144

145145
# host port forwarding to port 4243 in the VM
146-
dockerport=4243
146+
DockerPort = 4243
147147

148148
# host-only network host IP
149-
hostip=192.168.59.3
149+
HostIP = "192.168.59.3"
150150

151151
# host only network network mask
152-
netmask=255.255.255.0
152+
NetMask = [255, 255, 255, 0]
153153

154154
# host-only network DHCP server IP
155-
dhcpip=192.168.59.99
155+
DHCPIP = "192.168.59.99"
156156

157157
# host-only network DHCP server enabled
158-
dhcp=true
158+
DHCPEnabled = true
159159

160160
# host-only network IP range lower bound
161-
lowerip=192.168.59.103
161+
LowerIP = "192.168.59.103"
162162

163163
# host-only network IP range upper bound
164-
upperip=192.168.59.254
164+
UpperIP = "192.168.59.254"
165165
```
166166

167167
You can override the configurations using matching command-line flags. Type

0 commit comments

Comments
 (0)