DEV Community

Said Olano
Said Olano

Posted on

How to push a containerized Spring Boot app to Docker Hub

How to push a containerized Spring Boot app to Docker Hub.

*1.- Create your Dockerfile:
*

2.- Build your local image:
docker build -t ms-negocio-gestion-productos-unico .

3.- Tag your local image:
docker tag ms-negocio-gestion-productos-unico josesaid08/ms-negocio-gestion-productos-unico

**4.- Push your local image to Docker Hub
**docker push josesaid08/ms-negocio-gestion-productos-unico:latest

Top comments (0)