STEPS: Create Dockerfile Insert finalname inside pom.xml docker build -t [any name] . docker images docker run -p 9090:8080 [name of container]