crash course

DOCKER PARA DEVELS

Javi Moreno

 

@ciberado @capside

contra COBOL viviamos mejor

¡Devels! ¡Sysops! ¡¡FIGHT!!

¿Grúas? ¿Barquitos? ¿Muelles?

Disparad, por favor

Union File System & chroot

Imágenes y Registros

Unix c-groups

Unix namespaces

Contenedores

Host y Docker agent

Docker machine

Docker client

Database

Links

FROM ubuntu:12.04

MAINTAINER Kimbro Staken version: 0.1

RUN apt-get update && apt-get install -y apache2 && \
         apt-get clean && rm -rf /var/lib/apt/lists/*

ENV APACHE_RUN_USER www-data
ENV APACHE_RUN_GROUP www-data
ENV APACHE_LOG_DIR /var/log/apache2

EXPOSE 80

CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]

Jerarquía de imágenes

Dockerización de herramientas perl

Desarrollo con nodejs

spotify's maven plugin for docker

https://github.com/msanand/docker-workflow

nginx:
    build: ./nginx
    links:
        - node1:node1
    ports:
        - "80:80"
node1:
    build: ./node
    links:
        - redis
    ports:
        - "8080"
redis:
    image: redis
    ports:
        - "6379"

continuous integration

https://github.com/testcontainers/testcontainers-java

clusters

@ciberado @capside

Docker para devels

By Javier Moreno

Docker para devels

  • 958