mirror of https://github.com/docker/docs.git
Merge pull request #4231 from thschroeter/correct-port-range-in-os-x-install
Correct port range in OS X installation doc
This commit is contained in:
commit
d45538f243
|
@ -126,7 +126,7 @@ with our containers as if they were running locally:
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
# vm must be powered off
|
# vm must be powered off
|
||||||
for i in {4900..49900}; do
|
for i in {49000..49900}; do
|
||||||
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i";
|
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i";
|
||||||
VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i";
|
VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i";
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue