sudo docker image build -t sushil/verification ./
sudo docker container run -d -p 8087:8080 sushil/verification
list of images::
sudo docker ps
sudo docker logs -f d44b2b216e16
sudo docker exec -it d44b2b216e16 sh
tail -f verification.log
help: https://dzone.com/articles/build-package-and-run-spring-boot-apps-with-docker
stop::
docker stop <container-name>
No comments:
Post a Comment