dockerandjenkins citz2014
TRANSCRIPT
![Page 1: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/1.jpg)
Docker & Jenkins continuous integration from scratch
Martin Kenneth Michalsky
Senior QE
![Page 2: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/2.jpg)
![Page 3: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/3.jpg)
Por favor, mantenga su
celular en modo silencioso
![Page 4: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/4.jpg)
4
Docker
A portable, lightweight application runtime and app packaging tool.
![Page 5: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/5.jpg)
5
Jenkins
A continuous integration Multiplatform tool written in Java
![Page 6: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/6.jpg)
6
Overview
![Page 7: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/7.jpg)
7
Docker Commands
![Page 8: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/8.jpg)
8
Version
Returns current version and build
docker version
![Page 9: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/9.jpg)
9
Pull
Pull an image from registry
docker pull busybox:latest
![Page 10: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/10.jpg)
10
images
List local images available
docker images
![Page 11: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/11.jpg)
11
run
Run a container of an exisitng image
Could be interactive or detached
Port, name and other attributes could be assigned
docker run -i -t debian:wheezy /bin/bash
docker run -d -t debian:wheezy /bin/bashdocker run --name containersample -d -t debian:wheezy /bin/bash
![Page 12: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/12.jpg)
12
ps
List containers
docker ps
docker ps -a
![Page 13: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/13.jpg)
13
Start/Stop
Start or stop an existing container
docker stop containersample
docker start containersample
![Page 14: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/14.jpg)
14
rm
removes a stopped container
docker rm containersample
![Page 15: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/15.jpg)
15
build
builds an image from a dockerfile
wget https://raw.githubusercontent.com/kassanmoor/fossildocker/master/Dockerfile
docker build -t imagesample /root/
![Page 16: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/16.jpg)
16
Online Resources
![Page 17: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/17.jpg)
17
Docker resources
https://www.docker.com
http://www.centurylinklabs.com
https://www.tutum.co
![Page 18: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/18.jpg)
18
Jenkins resources
http://jenkins-ci.org
http://blog.cloudbees.com
![Page 19: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/19.jpg)
19
Q&A
![Page 20: Dockerandjenkins citz2014](https://reader034.vdocument.in/reader034/viewer/2022042816/5599795b1a28ab1e528b47ef/html5/thumbnails/20.jpg)
20