Skip to content

How to push Dockerfile to docker hub

Roman Ivanov edited this page Mar 12, 2017 · 18 revisions
  1. create user on docker hub (become part of "checkstyle" organization)

  2. docker login --username=<user username> --email=<user email address>

At folder sonar-checkstyle/checkstyle-sonar-plugin/config do docker build -t sonarqube-maven-git .

  1. docker commit sonarqube-maven-git checkstyle/sonarqube-maven-git

  2. docker push checkstyle/sonarqube-maven-git

Image location - https://hub.docker.com/r/checkstyle/sonarqube-maven-git/

Clone this wiki locally