SlideShare a Scribd company logo
Docker and fig for Dev
Set-up Docker and fig on Mac OSX
Pranas Baliuka
Algoteq Pty Ltd
2015
Architecture
● Docker client tools communicate with Docker service
via TCP.
● Vagrant configuration controls starting of Core OS on
VirtualBox VM
● CoreOS provides native support for Docker containers.
Architecture
● Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
● Install VirtualBox and Vagrant Tools:
$ brew install Caskroom/cask/virtualbox
$ brew install Caskroom/cask/vagrant
$ brew install Caskroom/cask/vagrant-manager
● Install docker client on Mac OS X
$brew install docker
Note: If client API version is higher vs Docker service. e.g. Docker API 1.6:
$brew install
https://raw.githubusercontent.com/Homebrew/homebrew/fc4e7d263eaea48885bb9425c8a2303e8fe39e2b/Library/Formula
/docker.rb
● Set-up fig
$ sudo easy_install pip
$ sudo pip install -U fig
Installation
● Start Vagrant
$ vagrant up
● Set DOCKER_HOST environment variable to manage Docker containers.
$ export DOCKER_HOST='tcp://127.0.0.1:2375'
● Check basic docker image:
$ docker run -it --rm busybox
$$ exit
● Create vanila fig fig.yml file with simplest possible content:
name:
image: busybox
● Test fig => Docker API => Vagrant => VirtualBox => Docker Service => Docker Image
$ fig run --rm name sh
$$ exit
Running
Q&A

More Related Content

PPTX
Vagrant step-by-step guide for Beginners
PPTX
PDF
OSDC.no 2015 introduction to node.js workshop
PPTX
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
PPTX
Using vagrant
PDF
Web Applications with Eclipse RT and Docker in the Cloud
PDF
Deploying Drupal using Capistrano
PDF
Helpful pre commit hooks for Python and Django
Vagrant step-by-step guide for Beginners
OSDC.no 2015 introduction to node.js workshop
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Using vagrant
Web Applications with Eclipse RT and Docker in the Cloud
Deploying Drupal using Capistrano
Helpful pre commit hooks for Python and Django

What's hot (20)

PDF
VCCW - Vagrant based WordPress development environment
PPTX
Vagrant 101 Workshop
PDF
How to create your own hack environment
PPTX
Vagrant hands on workshop for beginners
KEY
Using rbenv in Production
PDF
Vagrant for Virtualized Development
PDF
Frontend Build Tools - CC FE & UX
PDF
Docker Compose to Production with Docker Swarm
PDF
TDC2018SP | Trilha Containers - CI/CD com Docker e Drone
PDF
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
PDF
Docker in Production: Reality, Not Hype - DevOps Chicago
PPTX
Modern Development Tools
PDF
Vagrant + Ansible + Docker
PDF
Multiple django applications on a single server with nginx
PDF
Sep Nasiri "Upwork PHP Architecture"
PPTX
Plone deployment made easy
PDF
Meetup C++ Floripa - Conan.io
PDF
Wocker @WordBench Osaka No.41
PDF
"13 ways to run web applications on the Internet" Andrii Shumada
PDF
GlassFish Embedded API
VCCW - Vagrant based WordPress development environment
Vagrant 101 Workshop
How to create your own hack environment
Vagrant hands on workshop for beginners
Using rbenv in Production
Vagrant for Virtualized Development
Frontend Build Tools - CC FE & UX
Docker Compose to Production with Docker Swarm
TDC2018SP | Trilha Containers - CI/CD com Docker e Drone
Docker summit 2015: 以 Docker Swarm 打造多主機叢集環境
Docker in Production: Reality, Not Hype - DevOps Chicago
Modern Development Tools
Vagrant + Ansible + Docker
Multiple django applications on a single server with nginx
Sep Nasiri "Upwork PHP Architecture"
Plone deployment made easy
Meetup C++ Floripa - Conan.io
Wocker @WordBench Osaka No.41
"13 ways to run web applications on the Internet" Andrii Shumada
GlassFish Embedded API
Ad

Viewers also liked (18)

PPTX
calentamiento global
PDF
Luke Muscat - Noble Reference (2)
PDF
4 ыабй айуах уа жуйжа уа
PPT
Weatherproof DC isolation switch
PDF
Ficha informativa #FeriaDeCienciasMX
PDF
BOSIET - Luke Muscat
PPTX
Erasmus+ Sweden
PDF
I Do Pad Brochure
PPTX
Userinvolvement - image or added value
PPTX
Vuelta a la republica del ecuador
PDF
11134074 845088025561480 8980578479952178133_o
PDF
Bar Mitzvah Pad
PPTX
Beneficios del ejercicio en la vida cotidiana
PPTX
Presentación tp n° 1
PDF
11148679 845087995561483 5843196876316298917_o
PDF
Презентация для партнеров
PDF
Adaya balangan terbaru
DOCX
Action research
calentamiento global
Luke Muscat - Noble Reference (2)
4 ыабй айуах уа жуйжа уа
Weatherproof DC isolation switch
Ficha informativa #FeriaDeCienciasMX
BOSIET - Luke Muscat
Erasmus+ Sweden
I Do Pad Brochure
Userinvolvement - image or added value
Vuelta a la republica del ecuador
11134074 845088025561480 8980578479952178133_o
Bar Mitzvah Pad
Beneficios del ejercicio en la vida cotidiana
Presentación tp n° 1
11148679 845087995561483 5843196876316298917_o
Презентация для партнеров
Adaya balangan terbaru
Action research
Ad

Similar to Docker and fig for dev (20)

PPTX
Docker in development
PDF
Agile Brown Bag - Vagrant & Docker: Introduction
PDF
Vagrant + Docker provider [+Puppet]
PPTX
Docker for Fun and Profit, Devoxx 2014
PDF
ContainerDays Boston 2016: "Docker For the Developer" (Borja Burgos)
PPTX
Docker: From Zero to Hero
PDF
Apt get no more let Vagrant, Puppet and Docker take the stage
PPTX
Docker DANS workshop
 
PDF
Docker - From Walking To Running
PDF
Up and running with docker
PPTX
DockerCon EU 2015 Barcelona
PPTX
Dockerize the World - presentation from Hradec Kralove
PDF
Docker 101: An Introduction
PDF
DockerCon 2016 Seattle Recap
PPTX
You, and Me, and Docker Makes Three
PDF
Week 8 lecture material
PDF
Docker up and Running For Web Developers
PDF
Docker Up and Running for Web Developers
PPTX
Vagrant + Docker
PPTX
Docker 101
Docker in development
Agile Brown Bag - Vagrant & Docker: Introduction
Vagrant + Docker provider [+Puppet]
Docker for Fun and Profit, Devoxx 2014
ContainerDays Boston 2016: "Docker For the Developer" (Borja Burgos)
Docker: From Zero to Hero
Apt get no more let Vagrant, Puppet and Docker take the stage
Docker DANS workshop
 
Docker - From Walking To Running
Up and running with docker
DockerCon EU 2015 Barcelona
Dockerize the World - presentation from Hradec Kralove
Docker 101: An Introduction
DockerCon 2016 Seattle Recap
You, and Me, and Docker Makes Three
Week 8 lecture material
Docker up and Running For Web Developers
Docker Up and Running for Web Developers
Vagrant + Docker
Docker 101

Recently uploaded (20)

PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Funds Management Learning Material for Beg
PPTX
presentation_pfe-universite-molay-seltan.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
SAP Ariba Sourcing PPT for learning material
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
PPT
tcp ip networks nd ip layering assotred slides
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Slides PPTX World Game (s) Eco Economic Epochs.pptx
RPKI Status Update, presented by Makito Lay at IDNOG 10
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
WebRTC in SignalWire - troubleshooting media negotiation
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PptxGenJS_Demo_Chart_20250317130215833.pptx
Funds Management Learning Material for Beg
presentation_pfe-universite-molay-seltan.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
SAP Ariba Sourcing PPT for learning material
introduction about ICD -10 & ICD-11 ppt.pptx
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
An introduction to the IFRS (ISSB) Stndards.pdf
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Sims 4 Historia para lo sims 4 para jugar
tcp ip networks nd ip layering assotred slides
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...

Docker and fig for dev

  • 1. Docker and fig for Dev Set-up Docker and fig on Mac OSX Pranas Baliuka Algoteq Pty Ltd 2015
  • 3. ● Docker client tools communicate with Docker service via TCP. ● Vagrant configuration controls starting of Core OS on VirtualBox VM ● CoreOS provides native support for Docker containers. Architecture
  • 4. ● Install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ● Install VirtualBox and Vagrant Tools: $ brew install Caskroom/cask/virtualbox $ brew install Caskroom/cask/vagrant $ brew install Caskroom/cask/vagrant-manager ● Install docker client on Mac OS X $brew install docker Note: If client API version is higher vs Docker service. e.g. Docker API 1.6: $brew install https://raw.githubusercontent.com/Homebrew/homebrew/fc4e7d263eaea48885bb9425c8a2303e8fe39e2b/Library/Formula /docker.rb ● Set-up fig $ sudo easy_install pip $ sudo pip install -U fig Installation
  • 5. ● Start Vagrant $ vagrant up ● Set DOCKER_HOST environment variable to manage Docker containers. $ export DOCKER_HOST='tcp://127.0.0.1:2375' ● Check basic docker image: $ docker run -it --rm busybox $$ exit ● Create vanila fig fig.yml file with simplest possible content: name: image: busybox ● Test fig => Docker API => Vagrant => VirtualBox => Docker Service => Docker Image $ fig run --rm name sh $$ exit Running
  • 6. Q&A