Project with java spring boot for Distribuid Rrogramming
161
This repository contains the official Docker image for the ProyectoJava. You can use this image to easily run the application in a Docker container without having to manually set up the environment.
Before using this Docker image, make sure you have the following installed:
To pull the Docker image from Docker Hub, open your terminal and run the following command:
docker pull stalinvasco2024/proyectojava:latest
For example:
docker pull stalinvasco2024/proyectojava:latest
Once you have pulled the image, you can run it as a Docker container. Use the following command:
docker run -d -p 8080:80 --name proyectojava stalinvasco2024/proyectojava:latest
For example:
docker run -d -p 8080:80 --name proyectojava stalinvasco2024/proyectojava:latest
This will start the container in detached mode (-d), map port 80 of the container to port 8080 of your local machine (-p 8080:80), and give the container a name (--name proyectojava).
Once the container is running, you can access the application by opening a browser and going to:
http://localhost:8080
To stop the running container, use the following command:
docker stop [container-name]
For example:
docker stop proyectojava
To remove the container after stopping it, run:
docker rm [container-name]
For example:
docker rm proyectojava
Content type
Image
Digest
sha256:8c9410445…
Size
229.2 MB
Last updated
almost 2 years ago
docker pull stalinvasco2024/proyectojava