Docker - Installation Docker for Windows on Windows 10

Card Puncher Data Processing

About

In Windows 10, you install docker with Docker for Windows.

The installation provides:

Steps

Host

In the settings change the resource of the host

Docker For Windows Host Settings

Docker for Windows requires Microsoft Hyper-V to run. The Docker for Windows installer enables Hyper-V for you and VirtualBox no longer works. These VMs cannot be used side-by-side with Docker for Windows.

I have learned that there is:

Docker Hyperv Moby

The host:

  • use named MobyLinuxVM
  • use the iso (C:\Program Files\Docker\Docker\Resources\docker-for-win.iso)
  • store its disk of 60Gb at (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks\MobyLinuxVM.vhdx)

Docker Moby Disk

  • is accessible through localhost because of the DockerNat Network adapter

Security

All Windows accounts use the same VM to build and run containers. Containers and images created with Docker for Windows are then shared between all user accounts.

Shared drive

Docker - Shared Drive (Windows)

Kitematic

Kitematic Installation:

  • Choose Kitematic, on the Docker for windows menu
  • Download the zip file and unzip it at C:\Program Files\Docker\Kitematic

Docker Kitematic Docker For Windows

Credential

Docker use external credential helper that are by default installed with windows (at C:\Program Files\Docker\Docker\resources\bin)

They follows the same file pattern: docker-credential-xxxxx.exe

You set the xxxxx in the configuration file located at C:\Users\username\.docker\config.json in the property credsStore

{"credsStore":"desktop","stackOrchestrator":"swarm"}

More see Credentials Store

Support

Mount denied: The source path doesn't exist and is not known to Docker

On Windows 10

docker: Error response from daemon: Mount denied:
The source path "D:/tmp"
doesn't exist and is not known to Docker.
See 'docker run --help'.

Solution:

  • A Firewall was added
  • or The credentials for the mount have expired, reset them

Docker Shared Drive New Credentials

Documentation / Reference





Discover More
Card Puncher Data Processing
Docker - Installation

How I have installed and configured Docker in my Windows laptop: For: windows 7. See windows 10. See
Toolbox Componentns
Docker - Installation for Windows 7 (Docker Toolbox)

How I have installed and configured Docker in my Windows 7 laptop. The software for windows 7 is called Docker Toolbox. Before version Windows 10: Toolbox:...
Idea Firewall Public Allow
PHP - (Debug|Debugger) with Xdebug in Docker

How to debug a PHP application running in a docker container. This articles is split in two: a part that you need to perform only ones a debug part that you must perform each time you want to debug...



Share this page:
Follow us:
Task Runner