# Add a Docker image to Docker Desktop (from Docker Hub)

In 
Published 2022-12-03

This tutorial explains to you how to add a Docker image to Docker Desktop from Docker Hub.

This is done very simple. We need to use the docker pull command.

Usage:
docker pull [OPTIONS] NAME[:TAG|@DIGEST]

If you are behind an HTTP proxy server, for example in corporate settings, before open a connection to registry, you may need to configure the Docker daemon’s proxy settings, using the HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables.

In our case I will add an Envoy proxy image to our Docker Desktop using pull envoyproxy/envoy-dev:d036285f8843fc7fd275f5d4f38a8ce040714ab1 the command:

Immediately we can see it in Docker Desktop:

We can see the image, but the image is not used yet to start a container.

In order to start the Envoy container you can run the following command:

docker run --rm -it -p 9901:9901 -p 10000:10000 envoyproxy/envoy-dev:d036285f8843fc7fd275f5d4f38a8ce040714ab1