Skip to content

Docker automated builds. Creating automated builds with GitHub, Docker Hub, and WebHooks. A DevOps and Docker approach.

Notifications You must be signed in to change notification settings

jaworra/Docker-Automated-Build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Docker builds

  • CI/CD pipeline, build new docker from GitHub into DockHub.

Containers and Virtualisation

Runs on Docker for reproducibility and CI/CD approach, there is a Dockerfile and and premade image on referenced Docker Hub.

  • Manual build/run
docker build -t [image_name] .
docker run -p 8888:8888 [image_name] .
  • Docker Compose

docker-compose up mounts the directory and starts the container. docker-compose down destroys the container

docker container ls #show all containers
docker rmi $(docker images -f "dangling=true" -q) #stop dangling processes
docker stop $(docker ps -a -q) #stop all containers
docker system prune -a`  #clean all
docker -f jupyter.dockerfile -t jupyter:latest .  #build specific docker file
docker login --username=[username] --pasword-stdin[password]
docker commit [containerid] [username/imagename:tag]
docker push [dockerimage]

About

Docker automated builds. Creating automated builds with GitHub, Docker Hub, and WebHooks. A DevOps and Docker approach.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published