How to do Docker Community Edition setup on Windows 2019 server? - windows

I am not finding any specific docs for installing Docker Community Edition o Win 2019 Server.
I downloaded a stable build from this location - https://download.docker.com/win/static/stable/x86_64/
I have extracted the folders in it, but still I am not able to run basic Docker commmands like docker --version or docker info.
If anyone can help with this?

Related

Docker-Compose does not work on Windows Server 2022

I installed a new Windows Server 2022 and then followed the instructions to install Docker and Docker Compose on the Server. I also installed WSL and a Ubuntu20-04.
Then, I tried to run a docker-compose up command and it failed with the following error message.
Is there anyway for me to use Windows Server 2022 to run docker-compose?
A few steps here:
Set up your environment on that build, following the instructions here:
https://learn.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tab...
Given it's an Insider build, you may need this step as well:
https://hub.docker.com/_/microsoft-windows-servercore-insider
Then you can run a command like this to get your Windows Server 2022 Preview container images:
docker pull mcr.microsoft.com/windows/servercore/insider:10.0.20298.1
As a reference, these are Docker Hub Windows Server Base OS container image Insider release pages:
https://hub.docker.com/_/microsoft-windows-servercore-insider
https://hub.docker.com/_/microsoft-windows-nanoserver-insider

Installing docker to unsupported OS

I want to install Docker Desktop to my computer. My operating system is Windows 10 Enterprise 14393.0. But version 18363+ is needed to install docker. I googled the issue and most of recommendations were to install docker toolbox. However, Toolbox is not available right now. In this case is it possible to install docker to my computer? If yes, how can I do it? Thanks in advance.
You can continue to use Docker Toolbox, you can find the binary here: https://github.com/docker/toolbox/releases
It will use an old version of docker and it's really not perfect, but if you can't update your Windows, it's the only way to have a not so old Docker.
The Docker Community Edition 2.0.0.3 have Docker 18.09 and the last Toolbox version have Docker 19.03.
You should be able to install Docker Community Edition 2.0.0.3 which you can find here.

Docker Desktop Installation failed: one prerequisite is not fulfilled on Windows 10

I have a problem when installing a Docker Desktop 2.3.0.3
"Installation failed: one prerequisite is not fullfilled"
Docker Desktop requires Windows 10 Pro/Enterprise (15063+) or Windows 10 Home (19018+).
My Computer System Specification:
OS Name: Microsoft Windows 10 Pro
Version: 10.0.10240 Build 10240
RAM: 8Gb
I have tried manually Install Hyper-V and Containers in my Computer, but still failed to install the desktop docker.. Anyone can help me? Im need your help.
You need to install Windows 10 Home 2004 build which was released on May 2020, you can use Microsoft's update assistant to manually get the update if it's not showing up for you on Windows.
Get it here: https://www.microsoft.com/en-us/software-download/windows10
You may want to try Docker Toolbox
Docker Toolbox is an installer for quick setup and launch of a Docker
environment on older Mac and Windows systems that do not meet the
requirements of the new Docker Desktop for Mac and Docker Desktop for
Windows apps.
The actual required Windows version is greater than what it says in the installer GUI.
It might be a typo! and according to Docker this has happened before:
Docker actually requires Windows build xxxxx or greater - we're
working on the typo in the installer gui, but you'll need to update
your Windows to proceed. (Jan 8, 2018)
Just Update Windows and the problem goes away.
If you cannot update the system use choco
Install following the official Сhocolatey documentation: https://chocolatey.org/install
After installation, run the command choco install docker-desktop or follow the official installation documentation https://community.chocolatey.org/packages/docker-desktop

Docker complains it can not update my supported Windows 10

Docker is giving me a message "A Docker for Windows update is available, but your version of windows isn't supported anymore".
According to Docker docs: The current version of Docker for Windows runs on 64bit Windows 10 Pro, Enterprise and Education (1511 November update, Build 10586 or later). In the future we will support more versions of Windows 10.
According my system about page: I have Windows 10 Pro, 64bit, version 1511, build 10586:1511.
Based on that info, I should have current version.
Is the docker information I have wrong or is there another problem why I cannot get docker to update?
Thanks
Matt
We updated the doc. Sorry, effectively we stopped supporting build 10586 in september, you will need to update to windows build 14393 at least to install Docker For Windows.
(Alternatively you can use Docker Toolbox on windows)
Guillaume

Docker for Windows Server 2016 requires update KB3176936

I want to install Docker on a physical Windows Server 2016 Datacenter Evaluation (Version 14393). I tried following the instructions from Quick Start Windows Server but installation fails:
Error message
The docker installer requires update KB3176936, which I installed then. Even after rebooting, the error message persists and I can't install docker.
I've enabled the Container feature and Hyper-V in Windows Feature Selection.
Any ideas what I'm doing wrong? I've could sucessfully setup docker on Windows 10.
You need to do a full Windows Update. I actually have a PR to add this step to the docs.
Run sconfig, then choose option 6 and then A and A to install all updates. This works for Server 2016 in no-desktop installs as well as with the UI.

Resources