Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Swimming with Docker

Avatar for Cody Moss Cody Moss
October 23, 2018

Swimming with Docker

Mostly a talk given in demos. Although a few slides to get it started. Demo is up on https://github.com/codayblue

Avatar for Cody Moss

Cody Moss

October 23, 2018
Tweet

More Decks by Cody Moss

Other Decks in Programming

Transcript

  1. What is Docker • Application Deployment • Application Management •

    Developer Multi Tool • Build Server • Build Management • Application Bundler • Easy Configuration • Time Saver • Solves: “It worked on my machine!”
  2. Images • Built from the dockerfile • Can create an

    unlimited* amount of containers • Contains the config/source**/applications/libs needed for the application • Can be exported to be imported by other docker machines • Can be configured to work with Kubernetes/Openstack • Saved state of the application • Versions can be tagged to create containers based on old versions of the application * Based on system resources ** When configured to be production image
  3. Containers • Containers are based on images • They are

    the running application (also any libs/bins needed) • Run on top of docker runtime • Can be configured to automatically restart if container crashes
  4. Dockerfile • Set of repeatable steps to (re)create images •

    Very easy syntax • Basically is a shell script • Show the configuration and layers of an image • The basics of Docker • Has the startup command for an image • Does not always need to a startup command if one will be given at container creation time or parent image has a startup command
  5. Cody Moss @codayblue Github: https://github.com/codayblue Discord: codayblue #1067 Docker Docs:

    https://docs.docker.com/ https://docs.docker.com/engine/refe rence/builder/