-
Notifications
You must be signed in to change notification settings - Fork 7
Docker for Windows
- Uninstall Docker Toolbox.
- Windows Pro, Enterprise. Windows Home cannot be able to use this because it does not support Hyper-V.
Download from https://hub.docker.com/editions/community/docker-ce-desktop-windows
After installation, search for Docker Desktop for Windows then start as Administrator
The Docker Desktop for Windows will ask for Hyper-V, if it is not enable, open Windows Features to enable it
Then have to restart the computer to apply change, after that, open the Docker Desktop for Windows again as Administrator.
First time open will prompt a login to the Docker Hub, login with your account or register one.
After that, open CMD, PowerShell or CMDer as Administrator and run docker ps to see check the status of docker machine.
If there are any problem, try restarting the Docker Desktop for Windows first then retrying.
- Run this script
sh dev.sh up
- Add the Administrator user and Authenticated User
- Enable driver where the project directory located (for example: C) then click Apply.
After that, everything should be ready. Enjoy a very fast development compare to the Docker Toolbox solution. Happy coding.
This issue happens when I forgot to uninstall Docker Toolbox in the first place.
"could not read CA certificate "C:\Users\...\.docker\machine\machines\default\ca.pem": open C:\Users....docker\machine\machines\default\ca.pem: The system cannot find the path specified."
https://github.com/docker/for-win/issues/1746
I had already mentioned about this above.
https://github.com/docker/for-win/issues/2946#issuecomment-467295071
docker login --username xxx --password yyy
Turn off fast startup https://github.com/docker/for-win/issues/1038#issuecomment-458440399