Customer Engineer @ Bugsnag
@kellymase
@kellymase
@kellymase
@kellymase
A way to package an application and everything the application needs to run in isolation from the operating system and infrastructure it runs on.
It allows applications to run easily and consistently in various environments (in the cloud, on your local machine, etc).
@kellymase
@kellymase
Often you want to work on one portion of a complex system or codebase, and you want the rest of the system to Just Work.
@kellymase
@kellymase
@kellymase
HOUSE
HOUSE
BEDROOM
GARAGE
@kellymase
@kellymase
@kellymase
Operating System
Docker
Infrastructure
@kellymase
@kellymase
@kellymase
Hi Support,
Oh no! It looks like the filter bar is broken on your website.
Sincerely,
Searchy McFilterson
@kellymase
@kellymase
@kellymase
@kellymase
@kellymase
Hi Team,
We tried to install your ruby gem, but it doesn't work with Ruby 2.1 so unfortunately we can't use it.
Sincerely,
Antique Rubyist
@kellymase
@kellymase
Hi there,
My configuration doesn't work. I'm using Laravel 5.1, PHP 5.2, Composer 1.4, and Bugsnag 2.0. Help!
Sincerely,
My job depends on this
@kellymase
@kellymase
@kellymase
@kellymase
@kellymase
Dockerfile instructions Docker reads from to create the Docker image
Docker image a static, read-only template of layered filesystems, including the application, its libraries and binaries that instructs how to build the container
Docker container an individual instance of a Docker image that actually runs the code
@kellymase
@kellymase
Hey Docker! Build an image of my application.
@kellymase
Hey Docker! Build an image of my application.
I'll need to refer to the image later...add the tag myfirstimage.
@kellymase
Hey Docker! Build an image of my application.
I'll need to refer to the image later...add the tag myfirstimage.
Use the Dockerfile that's located in our current folder.
@kellymase
Hey Docker, run an image for me.
@kellymase
Hey Docker, run an image for me.
Using whatever is mapped to port 8080 in the container, expose it on port 8080 in my dev environment.
@kellymase
Hey Docker, run an image for me.
Using whatever is mapped to port 8080 in the container, expose it on port 8080 in my dev environment.
Remember that image with the tag myfirstimage we created a minute ago? use that.
@kellymase
@kellymase
@kellymase
@kellymase
@kellymase
Instructions for starting your containers
Build an image of your application
Dockerfile
@kellymase
Instructions Docker reads from to create the Docker image
docker-compose.yml
$ docker-compose.yml
@kellymase
hello@kellymariemason.com
@kellymase
Service #1
Service #2
UI
mobile!
@kellymase
Service #1
Service #2
UI
mobile!
@kellymase
Service #1
Service #2
UI
mobile!
@kellymase
Operating System
Docker
Infrastructure
@kellymase