Intel Core i3-4000M 2.40GHz or up
Memory: 4GB or up
Storege: 128GB or up
README FIRST for Docker Toolbox and Docker Machine users: Docker for Windows requires Microsoft Hyper-V to run. The Docker for Windows installer enables Hyper-V for you, if needed, and restart your machine. After Hyper-V is enabled, VirtualBox no longer works, but any VirtualBox VM images remain. VirtualBox VMs created with docker-machine (including the default one typically created during Toolbox install) no longer start. These VMs cannot be used side-by-side with Docker for Windows. However, you can still use docker-machine to manage remote VMs.
You need some setting when you use PC without Hyper-V.
a. Check your User Name.
Use English Username, if you have non-English name on your folder "C:/User//"User Name, you can't use "docker-compose command".
If you are using non-English name, you have to create new user, and start from "b."
Create Local Account Process is belows.
b. Turn on Virtualization Techology in BIOS.
See these instructions to install Hyper-V manually. A reboot is required. If you install Hyper-V without the reboot, Docker for Windows does not work correctly. On some systems, Virtualization needs to be enabled in the BIOS. The steps to do so are Vendor specific, but typically the BIOS option is called Virtualization Technology (VTx) or similar.
You need google it like "'Maker Name' BIOS virtualization Technology", since Settings are different depends on Makers.
Processes are Belows.
c. Turn on Hyper-V（in case you have Hyper-V)
d. download&install docker
if you have Hyper-V
if you don't have Hyper-V
After installing, you see the
Docker Quickstart Terminal
Click it, and start.
e. Set Environmetal Variable, "COMPOSE_CONVERT_WINDOWS_PATHS=1".
f. Clone sample app.
(you need github account and login)
git clone https://github.com/akihitoalextsuboi/docker-rails.git
g. Start up docker-rails program.
docker-compose run web rails new . --force
h. access 192.168.99.100:3000(it can be 192.168.99.10x:3000)
i. when you want to stop the program, docker-compose down or Control+C
If you do double Control+C, you see these errors.
web_1 | A server is already
running. Check /myapp/tmp/pids/server.pid.
To resolve this, delete the file tmp/pids/server.pid, and then re-start the application with docker-compose up.
j. how to login to docker
docker-compose exec web bash
k. clone these files
you can share files, based on docker-compose file.
* when you can't use docker-compose command on windows, you need to set the environmental variable. COMPOSE_CONVERT_WINDOWS_PATHS to 1
If you want to open multiple terminals, open multiple docker quick terminal window.