O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Docker včera, dnes a zítra

Devel Konference 2015

Livros relacionados

Gratuito durante 30 dias do Scribd

Ver tudo
  • Seja o primeiro a comentar

Docker včera, dnes a zítra

  1. 1. včera, dnes a zítra Ladislav Prskavec, Apiary Devel Konference 11.4.2015
  2. 2. Kdo jsem? Co dělám • sysadmin • developer • tech writer * SRE (Site Reliability Engineer)
  3. 3. Co je docker?
  4. 4. Google Trends
  5. 5. Devel 2013 Devel 2015
  6. 6. Tech Writer
  7. 7. FROM debian:jessie
 MAINTAINER Apiary <sre@apiary.io>
 
 ENV REFRESHED_AT 2015-04-03
 
 RUN apt-get update
 
 RUN apt-get install -y python-sphinx 
 graphviz 
 make 
 pandoc 
 texlive 
 texlive-latex-extra
 
 RUN mkdir /docs
 
 WORKDIR /docs
 VOLUME ['/docs']
 
 CMD make clean convert html latexpdf Sphinx documentation base image
  8. 8. Developer
  9. 9. data: image: busybox volumes: - /tmp/data/mondo:/data/db - /tmp/data/redis:/data/ redis: image: apiaryio/base-dev-redisdb volumes_from: - data mongo: image: apiaryio/base-dev-mongodb volumes_from: - data apiary: hostname: apiary.dev build: . ports: - "8000:8000" - "9000:9000" links: - redis - mongo volumes: - .:/home/ubuntu/app command: grunt develop docker-compose.yml $ docker-compose up $ docker-compose build $ docker-compose scale
  10. 10. Sinopia - private NPM registry https://github.com/rlidwka/sinopia $ docker pull keyvanfatehi/sinopia:latest $ docker run --restart=always -v /data:/data -v /data/s/start.sh:/opt/sinopia/start.sh -d -p 8080:8080 keyvanfatehi/sinopia:latest
  11. 11. https://docker-exec.github.io/ Docker Exec
  12. 12. Otázky? https://apiary.io/company#jobs Ladislav Prskavec SRE Team Lead, Apiary.io ladislav@apiary.io | @abtris

×