Microsoft Windows - Docker Documentation
Windows Note: Docker has been tested on Windows 7.1 and 8; it may also run on older versions. Your processor needs to support hardware virtualization. The Docker Engine uses Linux-specific kernel features, so to run it on Windows we need to use a lightweight virtual machine (vm). You use the Windows Docker client to control the virtualized Docker Engine to build, run, and manage Docker containers. To make this process easier, we've designed a helper application called Boot2Docker that installs the virtual machine and runs the Docker daemon.
Read full article from Microsoft Windows - Docker Documentation
Windows Note: Docker has been tested on Windows 7.1 and 8; it may also run on older versions. Your processor needs to support hardware virtualization. The Docker Engine uses Linux-specific kernel features, so to run it on Windows we need to use a lightweight virtual machine (vm). You use the Windows Docker client to control the virtualized Docker Engine to build, run, and manage Docker containers. To make this process easier, we've designed a helper application called Boot2Docker that installs the virtual machine and runs the Docker daemon.
docker run hello-world
Container port redirection
If you are curious, the username for the boot2docker default user is
docker
and the password is tcuser
.
The latest version of
boot2docker
sets up a host only network adaptor which provides access to the container's ports.
If you run a container with an exposed port:
docker run --rm -i -t -p 80:80 nginx
Then you should be able to access that nginx server using the IP address reported to you using:
boot2docker ip
Typically, it is 192.168.59.103, but it could get changed by Virtualbox's DHCP implementation.
Read full article from Microsoft Windows - Docker Documentation
No comments:
Post a Comment