-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gain a basic understanding of docker, how it works, integration with Windows Server, and how to get it set up on Windows Server 2016. #1
Comments
How Docker for Windows works: https://docs.docker.com/docker-for-windows/ Seems like old Docker only ran on Linux, so Linux VM had to be installed on Windows machine, and then controlled through Windows. Now, Docker can run natively on Windows using native Hyper-V virtualization. Docker engine is what runs the containers, and the containers are what store individual applications for process separation. |
At the time of this writing, the VM method is the sanctioned method for running Docker on Mac machines. I only mention this for the future benefit of people wanting to port Snap to Mac (if the Docker plugin doesn't already work on Mac). |
In order to get Docker set up on Windows 2016 VM: After this, I ran into error when trying to do 'docker version' command: Apparently, the Docker Engine should start automatically after installation, but it doesn't (MicrosoftDocs/Virtualization-Documentation#350). Use 'Start-Service docker' in Powershell to start it manually. |
Continuing on with the Get Started with Windows for Docker, tried to run 'docker run hello-world', but got the error: According to https://docs.docker.com/docker-for-windows/troubleshoot/, if we install the native Windows binary (which allows us to develop and run Windows containers without Docker for Windows), we cannot develop or run Linux containers. That is why this error occurs. Something to look out for when first starting with Docker for Windows Server 2016. |
From https://github.com/docker/labs/blob/master/windows/windows-containers/README.md, after setup, follow Getting Started with Windows Containers for specific instructions on how to use this native Docker binary. |
Wait. Can Docker on Windows only run Windows containers? |
That's what it seems like, at least for the Docker version made for Windows Server. At https://docs.docker.com/docker-for-windows/, it says that,
|
No description provided.
The text was updated successfully, but these errors were encountered: