Sign inSign up

jacquesnavarro/current-time

By jacquesnavarro

•Updated over 2 years ago

A Spring Boot MVC application that displays the current time.

Image
Languages & frameworks
0

154

jacquesnavarro/current-time repository overview

⁠current-time

A Spring Boot MVC application that displays the current time. Completed as an assignment for the Devops with Docker⁠ course from the University of Helsinki's Mooc.fi⁠.

⁠Getting Started

The application has been containerized with Docker.

⁠Prerequisities

In order to run this container you'll need docker installed.

⁠Usage
docker pull jacquesnavarro/current-time
docker build -t current-time .
docker run -p <host port>:<container port> current-time

The application runs on port 8080 of the container.

docker run -p 8080:8080 current-time

The port on the host can be changed by another port if another application is already using port 8080 .

docker run -p <host port>:8080 current-time

The shell can be accessed with the -it flags and passing bash as an argument after the image name.

docker run -it -p 8080:8080 current-time bash

⁠Repo

current-time⁠

⁠Built With

⁠Author

https://github.com/jacques-navarro⁠

⁠Find Me

⁠License

This project is licensed under the MIT License - see the LICENSE.md⁠ file for details.

Tag summary

Content type

Image

Digest

sha256:f551e2165…

Size

200.1 MB

Last updated

over 2 years ago

docker pull jacquesnavarro/current-time