Sign inSign up

erickuce/pythoncontenedor

By erickuce

•Updated almost 2 years ago

Image
0

83

erickuce/pythoncontenedor repository overview

Docker Hub Installation and Execution (Method 2)

  1. Install Docker On the computer where you want to test the image, first install Docker. Here are the steps for Windows, macOS:

Windows:

-Go to Docker Desktop for Windows and   
download the installer.
-Run the installer and follow the on- 
screen instructions.
-Once Docker is installed, restart the 
computer if prompted.

macOS:

-Go to Docker Desktop for macOS and 
download the installer.
-Open the downloaded .dmg file and drag 
Docker to the Applications folder.
-Open Docker from the Applications 
folder and follow the instructions to 
complete the installation.

2. Start Docker

On Windows/macOS, Docker should start automatically after installation. If not, open the Docker Desktop application.

3. Download the Image from Docker Hub

Once Docker is installed and running, open a terminal (CMD or PowerShell on Windows, Terminal on macOS/Linux) and run the following command to download the image from Docker Hub:

docker pull erickuce/pythoncontenedor:latest

This will download the image you uploaded to Docker Hub on the current computer.

4. Run the Container

After the image is downloaded, run the container using the following command:

 docker run -p 5000:5000 --name contenedorparapython erickuce/pythoncontenedor:latest

Tag summary

Content type

Image

Digest

sha256:ceff22caf…

Size

362.4 MB

Last updated

almost 2 years ago

docker pull erickuce/pythoncontenedor