Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 741 Bytes

README.asciidoc

File metadata and controls

53 lines (33 loc) · 741 Bytes

Docker

Manage softwares with docker!

Prerequisites

  • Install Docker.

  • Install Docker Compose.

Verify

$ docker --version

Docker version 19.03.8, build afacb8b
$ docker-compose -version

docker-compose version 1.25.4, build 8d51620a

Building the Docker Image

$ cd java-web-application/covid-19-bangladesh
$ mvn dockerfile:build

Running the Docker Image

$ docker run -p 32000:8080 mmahmood/covid-19-bangladesh:latest

# Try on your browser: http://localhost:32000/bangladesh

Pushing the Docker Image to DockerHub

$ docker login
$ docker push mmahmood/covid-19-bangladesh:latest

Pull Docker Image

$ docker pull mmahmood/covid-19-bangladesh:latest