Sign inSign up

stalinvasco2024/proyectojavascript

By stalinvasco2024

Updated almost 2 years ago

project with javascript for Distributed Programming.

Image
0

280

stalinvasco2024/proyectojavascript repository overview

Project Docker Image ProyectoJavascript

Overview

This repository contains the official Docker image for the ProyectoJavascript. You can use this image to easily run the application in a Docker container without having to manually set up the environment.

Prerequisites

Before using this Docker image, make sure you have the following installed:

  • Docker: You can install Docker by following the instructions here.

How to Pull the Docker Image

To pull the Docker image from Docker Hub, open your terminal and run the following command:

docker pull stalinvasco2024/proyectojavascript:latest

For example:

docker pull stalinvasco2024/proyectojavascript:latest

How to Run the Docker Container

Once you have pulled the image, you can run it as a Docker container. Use the following command:

docker run -d -p 80:80 --name proyectojavascript stalinvasco2024/proyectojavascript:latest

For example:

docker run -d -p 80:80 --name proyectojavascript stalinvasco2024/proyectojavascript:latest

This will start the container in detached mode (-d), map port 80 of the container to port 8080 of your local machine (-p 80:80), and give the container a name (--name proyectojavascript).

Access the Application

Once the container is running, you can access the application by opening a browser and going to:

http://localhost:80

Stopping the Container

To stop the running container, use the following command:

docker stop [container-name]

For example:

docker stop proyectojavascript

Removing the Container

To remove the container after stopping it, run:

docker rm [container-name]

For example:

docker rm proyectojavascript

Tag summary

Content type

Image

Digest

sha256:70f9e8fcc

Size

19.5 MB

Last updated

almost 2 years ago

docker pull stalinvasco2024/proyectojavascript