Loading deck

Docker Meetup

26.10.2017

Comgate: It Insider

Milan Šulc

f3l1x.io

github.com/f3l1x

twitter.com/xf3l1x

OpenSource

Opensource elePHPant keeper, @contributte + @nettrine engineer, @planette writter, @dockette orchestrator, @FriendsOfNette creator and core @nette member.

OpenSource

Docker

Docker

  • small & fast
  • developing
  • CI
  • isolation
  • scaling
  • community
  • docs
  • configuration manager
  • networking
  • storage / volumes
  • root permission
  • monitoring / logging
    (3rd party)

Docker

Docker

Dockerfile

FROM alpine:3.6

MAINTAINER Felix The Cat

ENV FOO=BAR

RUN whoami

ADD myfile.txt /myfile2.txt
COPY myfile.txt /myfile2.txt

EXPOSE 1234

VOLUME /mnt/data

ENTRYPOINT /usr/bin/run-forest-run
CMD run-forest-run
docker build -t myimage ./myapp

 

Dockerfile

 

 

Image

 

Build

Run

docker run [options] myimage [arguments]

 

Image

 

 

Container #1

 

 

Container #2

 

Ecosystem

 

Docker

Hub

 

 

Docker

Store

 

 

Docker

Registry

 

 

Docker

ID

 

 

Docker

Cloud

 

 

Docker

Machine

 

Show   

Thank you