DEV Community

avinash-repo
avinash-repo

Posted on

Docker Desktop

In Windows, you can use Docker Desktop to pull images in a similar way to the docker pull command in Linux. Docker Desktop provides a graphical user interface as well as a command-line interface. Here's how you can pull the Ubuntu image using the command-line interface on Windows:

Assuming you have Docker Desktop installed and running, open a command prompt or PowerShell window, and use the following command:

docker pull ubuntu
Enter fullscreen mode Exit fullscreen mode

This command will download the latest Ubuntu image from the Docker Hub registry. If you want a specific version or tag of Ubuntu, you can specify it in the command. For example:

docker pull ubuntu:20.04
Enter fullscreen mode Exit fullscreen mode

This command pulls the Ubuntu 20.04 LTS (Long Term Support) image specifically.

Keep in mind that the syntax for Docker commands is similar across different operating systems, including Linux, macOS, and Windows, but the underlying Docker daemon and container behavior may differ between platforms.

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay