Sign inSign up

stalinvasco2024/proyectojava

By stalinvasco2024

•Updated almost 2 years ago

Project with java spring boot for Distribuid Rrogramming

Image
0

161

stalinvasco2024/proyectojava repository overview

⁠Project Docker Image ProyectoJava

⁠Overview

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.

⁠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/proyectojava:latest

For example:

docker pull stalinvasco2024/proyectojava: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 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).

⁠Access the Application

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

http://localhost:8080

⁠Stopping the Container

To stop the running container, use the following command:

docker stop [container-name]

For example:

docker stop proyectojava

⁠Removing the Container

To remove the container after stopping it, run:

docker rm [container-name]

For example:

docker rm proyectojava

Tag summary

Content type

Image

Digest

sha256:8c9410445…

Size

229.2 MB

Last updated

almost 2 years ago

docker pull stalinvasco2024/proyectojava