2. Agenda
• What is the DevOps
• Solution for DevOps
• Create a repository in your local
• Github and Docker Cloud build image
• DevOps in Docker and run
3. What is the DevOps
• The collaboration of developers and IT operators
• DevOps (Development and Operations)
4. What is the DevOps
• Version control about
• Source code
• Test code
• Build script
• Deploy script
• Libraries
• Third party application
• Database schema
• Configuration files
• Environment settings
5. What is the DevOps
• Process automation
• Build automation
• Deploy automation (deployment of testing)
• Test automation
• Release automation (deployment of production)
8. Solution for DevOps
• Github version control
• Cloud and local application
• Public and private repository
• Popularity and well-known
• Beginning of CI (Continuous Integration)
• Easy!
Github Actions: https://github.com/orozcohsu/ntuhs_2020_docker/actions/new
9. Solution for DevOps
• Docker build
• No limited processing power
• No limited bandwidth
• Work with a team
• Share with the wider world
• Beginning of CD (Continuous Deployment)
• Because it COOL
10. Create a repository in your local
• Create your Github account
• Install Github in your Windows
• https://desktop.github.com/
• Place docker_20201116 folder in your Windows
29. DevOps in Docker and run
• In your docker environment
• RUN =>
• RUN =>
• RUN =>
docker pull orozcohsu/ntuhs_2020_docker
docker run -t -d -p 8080:8080 orozcohsu/ntuhs_2020_docker
docker exec -it 8897fe46f4ef cat /etc/hosts
30. DevOps in Docker and run
• In your browser, enter your IP with 8080 port
Try to check running container ID in command
45. DevOps in Docker and run
• Now we have two
version of images
• The latest
• v1.0
• Click Public View
46. DevOps in Docker and run
• In public view, check
the images in the Tags
tab
47. DevOps in Docker and run
• In your docker environment
• RUN =>
• RUN =>
• RUN =>
docker pull orozcohsu/ntuhs_2020_docker:v1.0
docker run -t -d -p 8090:8080 orozcohsu/ntuhs_2020_docker:v1.0
docker exec -it 6503bc498af3 cat /etc/hosts
48. DevOps in Docker and run
• In your browser, enter your IP with 8090 port