What is Docker?
Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Docker is an open source platform that enables developers to build, deploy, run, update and manage containers—standardized, executable components that combine application source code with the operating system (OS) libraries and dependencies required to run that code in any environment.
Download Docker for Windows Installer from here
Install Docker Desktop on Windows
Install interactively:
- Double-click Docker Desktop Installer.exe to run the installer.
- Follow the instructions on the installation wizard to authorize the installer and proceed with the install
- When the installation is successful, click Close to complete the installation process.
- If your admin account is different to your user account, you must add the user to the docker-users group.
Run Computer Management as an administrator and navigate to Local Users and Groups > Groups > docker-users.
Right-click to add the user to the group. Log out and log back in for the changes to take effect.
Install from the command line
After downloading Docker Desktop Installer.exe, run the following command in a terminal to install Docker Desktop. Change directory to your installer directory.e.g cd C:\temp
"Docker Desktop Installer.exe" install
If you’re using PowerShell you should run it as:
Start-Process '.\win\build\Docker Desktop Installer.exe' -Wait install
If using the Windows Command Prompt:
start /w "" "Docker Desktop Installer.exe" install
The install command accepts the following flags:
- --quiet: suppresses information output when running the installer
- --accept-license: accepts the Docker Subscription Service Agreement now, rather than requiring it to be accepted when the application is first run
- --no-windows-containers: disables Windows containers integration
- --backend=
: selects the default backend to use for Docker Desktop, hyper-v, windows or wsl-2 (default) - --allowed-org=
: requires the user to sign in and be part of the specified Docker Hub organization when running the application
If your admin account is different to your user account, you must add the user to the docker-users group:
net localgroup docker-users

Comments
Post a Comment