cd Projectfolder
# have the src and co
Dockerfile erstellen!
docker build –tag hello-world .
docker images
containername docker run -p 8080:80 –name hello -d hello-world
docker ps -a # mita docker exec -it <mycontainer> bash
docker start hello docker stop hello docker rm hello
Create Repository choose your name and the name of the new Image Description as one line make it private or public
Dockerhub can listen to github.com and any time on push it starts Tests and build.
hit save
add username to imagename with tag
docker –tag hello-world mrbit42/hello-world
docker push mrbit42/hello-world
docker pull mrbit42/hello-world:latest