Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Containers #101: Introduction to Docker Compose V2

227 Aufrufe

Veröffentlicht am

Recording of the meetup posted here: https://codefresh.io/blog/containers-101-intro-docker-compose-v2/

Join our meetup group to attend future sessions online or in person at meetup.com/Containers-101-meetup/

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

Containers #101: Introduction to Docker Compose V2

  1. 1. Containers #101 Docker Compose V2 April 2016
  2. 2. About the meetup • A series of 30 min webinars & in person meetup • Hands On • Online session are recorded • Suggested topics and presenters are welcome Recording available at https://vimeo.com/channels/containers101
  3. 3. About me • Developer, entrepreneur and technology enthusiast • Live in the Silicon Valley since 2008 • Founder and CEO of Codefresh @RazielTabib
  4. 4. About codefresh Continuous Integration and Delivery platform built for Docker and microservices. www.codefresh.io @codefresh contact@codefresh.io
  5. 5. What we will see today • Intro to Docker Compose • Docker Compose 2 enhancements – Services – Networks – Volumes • Q&A
  6. 6. Docker Compose Compose is a tool for defining and running multi-container Docker applications. Complete documentation @ https://docs.docker.com/compose/overview/
  7. 7. Docker Compose example Web: build: . ports: - “9000:9000” links: - mongo mongo: image: mongo:latest docker-compose.yml nodejs Mongo Lets chat app
  8. 8. Docker Compose V 2 docker-compose.yml version: ‘2’ Services Networks Volumes
  9. 9. Services docker-compose.yml version: ‘2’ Networks Volumes services: web: build: context: . dockerfile: Dockerfile image: demochatweb:0.1 mongo: image: mongo
  10. 10. Networks docker-compose.yml version: ‘2’ services: service1: image: ubuntu command: sleep 3600 networks: - internal1 - default service2: image: ubuntu command: sleep 3600 networks: - internal1 service3: image: ubuntu command: sleep 3600 networks: - default networks: internal1: driver: bridge
  11. 11. Volumes docker-compose.yml version: ‘2’ services: service1: image: ubuntu command: sleep 3600 volumes: - data:/data service2: image: ubuntu command: sleep 3600 volumes: - data:/data volumes: data: driver: local
  12. 12. additional resources • Codefresh blog www.codefresh.io/blog • Vimeo channel www.vimeo.com/channels/containers101 • Containers #101 http://www.meetup.com/Containers-101-online-meetup/ • Check us out @ www.codefresh.io @codefresh

×