2
GB runtime memory,allocated from the total available memory on your machine. To increase the RAM, set this to a higher number. To decrease it, lower the number.file not found
or cannot start service
errors at runtime. See Volume mounting requires shared folders for Linux containers.+
and navigate to the directory you want to add.-v
) feature.test
and Test
, while on Windows these filenames would actually refer to the same underlying file. This can lead to problems where an app works correctly on a developer Windows machine (where the file contents are shared) but fails when run in Linux in production (where the file contents are distinct). To avoid this, Docker Desktop insists that all shared files are accessed as their original case. Therefore if a file is created called test
, it must be opened as test
. Attempts to open Test
will fail with “No such file or directory”. Similarly once a file called test
is created, attempts to create a second file called Test
will fail.http://proxy.example.com
, Docker uses this proxy when pulling containers.docker
commands that pull images from Docker Hub that are not alreadydownloaded, such as a first time run of docker run hello-world
. If youencounter this, reset the DNS server to use the Google DNS fixed address:8.8.8.8
. For more information, seeNetworking issues in Troubleshooting.wsl --set-default <distro name>
. (For example, to set Ubuntu as your default WSL distro, run wsl --set-default ubuntu
).config.json
file and set experimental
to enabled.docker version
to verify whether you have enabled experimental features. Experimental modeis listed under Server
data. If Experimental
is true
, then Docker isrunning in experimental mode, as shown here:kubectl
, is included and configured to connectto the local Kubernetes server. If you have kubectl
already installed andpointing to some other environment, such as minikube
or a GKE cluster, be sureto change context so that kubectl
is pointing to docker-desktop
:dockerservice ls
, because managing them manually is not supported. To make themvisible, select Show system containers (advanced). Most users do not need this option.kubectl.exe
command in the path.docker-desktop
./usr/local/bin/kubectl
command is removed.kubectl
by another method, andexperience conflicts, remove it.localhost
and published ports~/.docker/certs.d/<MyRegistry>:<Port>/client.cert
and~/.docker/certs.d/<MyRegistry>:<Port>/client.key
. You do not need to push your certificates with git
commands.~/.docker/certs.d
folder on your Windows system to the /etc/docker/certs.d
directory on Moby (the Docker Desktop virtual machine running on Hyper-V).~/.docker/certs.d
directory in order for the changes to take effect.docker run
that attempt to pull from the registryproduce error messages on the command line, as well as on the registry.2
GB runtime memory,allocated from the total available memory on your Mac. To increase the RAM, set this to a higher number. To decrease it, lower the number./Users
, /Volume
, /private
, /tmp
and /var/folders
directory are shared. If your project is outside this directory then it must be addedto the list. Otherwise you may get Mounts denied
or cannot start service
errors at runtime.+
and navigate to the directory you want to add.-v
) feature./Users
.)http://proxy.example.com
, Docker uses this proxy whenpulling containers.config.json
file and set experimental
to enabled.Experimental
is true
, then Docker is running in experimental mode, as shownhere. (If false
, Experimental mode is off.)kubectl
, is included and configured to connectto the local Kubernetes server. If you have kubectl
already installed andpointing to some other environment, such as minikube
or a GKE cluster, be sureto change context so that kubectl
is pointing to docker-desktop
:kubectl
with Homebrew, or by some other method, andexperience conflicts, remove /usr/local/bin/kubectl
./usr/local/bin/kubectl
command on your Mac.docker-desktop
.dockerservice ls
, because managing them manually is not supported. To make themvisible, select Show system containers (advanced) and click Apply andRestart. Most users do not need this option./usr/local/bin/kubectl
command is removed.~/.docker/certs.d
directory in order for the changes totake effect.~/.docker/certs.d/<MyRegistry>:<Port>/client.cert
and~/.docker/certs.d/<MyRegistry>:<Port>/client.key
.~/.docker/certs.d
folder on your Mac to the /etc/docker/certs.d
directory on Moby (the DockerDesktop xhyve
virtual machine).~/.docker/certs.d
directory in order for the changes to takeeffect.docker run
that attempt to pull from the registry produce errormessages on the command line, as well as on the registry.docker
and docker-compose
commands. The completion scripts may befound inside Docker.app
, in the Contents/Resources/etc/
directory and can beinstalled both in Bash and Zsh.bash_completion.d/
directory. For example, if youinstalled bash via Homebrew:~/.bash_profile
:site-functions/
directory. For example, if you installed Zsh via Homebrew:completions/
directory.completions
directory: