Download - Dockerandjenkins citz2014
Docker & Jenkins continuous integration from scratch
Martin Kenneth Michalsky
Senior QE
Por favor, mantenga su
celular en modo silencioso
4
Docker
A portable, lightweight application runtime and app packaging tool.
5
Jenkins
A continuous integration Multiplatform tool written in Java
6
Overview
7
Docker Commands
8
Version
Returns current version and build
docker version
9
Pull
Pull an image from registry
docker pull busybox:latest
10
images
List local images available
docker images
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
12
ps
List containers
docker ps
docker ps -a
13
Start/Stop
Start or stop an existing container
docker stop containersample
docker start containersample
14
rm
removes a stopped container
docker rm containersample
15
build
builds an image from a dockerfile
wget https://raw.githubusercontent.com/kassanmoor/fossildocker/master/Dockerfile
docker build -t imagesample /root/
16
Online Resources
17
Docker resources
https://www.docker.com
http://www.centurylinklabs.com
https://www.tutum.co
18
Jenkins resources
http://jenkins-ci.org
http://blog.cloudbees.com
19
Q&A
20