


The Docker Hub is an open-source repository of Docker Images available to Docker users. Run the docker pull command to retrieve, or pull, the latest nginx image from the NGINX Docker Hub repository using the mainlin-alpine branch. First, open a terminal session where you will run all of the necessary Docker commands.Ģ. This tutorial will use a minimal Linux distribution called Alpine Linux running the latest NGINX version available, which is 1.21.1 in this tutorial.ġ. Let’s get started by first creating a Linux Docker image with NGINX already installed.
#What command is for starting the docker for mac windows 10#
Windows 10 – The tutorial uses Windows to run Docker on but the same general steps can also be applied to Linux or macOS.Docker Desktop – This tutorial uses version 3.5.1.To follow along with this tutorial, be sure you have the following: Running a PHP-FPM Application with a Docker NGINX Container.
