aboutsummaryrefslogtreecommitdiff
path: root/slides.md
diff options
context:
space:
mode:
Diffstat (limited to 'slides.md')
-rw-r--r--slides.md114
1 files changed, 107 insertions, 7 deletions
diff --git a/slides.md b/slides.md
index 2fc494a..2f15951 100644
--- a/slides.md
+++ b/slides.md
@@ -32,7 +32,8 @@
* Help build a mental model of Docker
* Introduce Docker basics
-* Give some working examples for possibilites
+* Give some working examples
+* Show potential of what's possible
-> My Assumptions <-
====================
@@ -92,7 +93,7 @@ Seconds vs Minutes
-> Pfffft Let's see it <-
=========================
-example1.sh demo
+example1 demo
- Run script
- Explain commands
@@ -131,7 +132,7 @@ this we will!
-> Let's dockerize the 'date' command <-
========================================
-example2.sh demo
+example2 demo
- show `date` command
- show script with docker command explain '$@' args
@@ -162,7 +163,7 @@ run an application.
-> Let's dockerize Vim <-
=========================
-example3.sh demo
+example3 demo
- Show Dockerfile
- Show script, explain docker build
@@ -205,7 +206,7 @@ Now we don't have to pick tools based on their languages.
-> Let's dockerize Babysploit <-
================================
-example4.sh demo
+example4 demo
- Babysploit provides own container, we'll try our own
- Show Dockerfile and script
@@ -236,7 +237,7 @@ So far we've only been working with simple binaries on the
command line but docker is capable of much, much more. How
about GUI aplications?
-* Note: This is for linux only, sorry mac/windows
+* Note: This example is for linux users only
* ref: https://blog.jessfraz.com/post/
* docker-containers-on-the-desktop/
@@ -245,7 +246,7 @@ about GUI aplications?
-> Let's dockerize Spotify <-
=============================
-example5.sh demo
+example5 demo
- Explain how display can be shared with volumes
- Run spotify
@@ -259,3 +260,102 @@ Docker compose is a tool for defining multi container
environments that allow us to create a repeatable
infrastructure setup so that we can build complex
environments that have complex requirements.
+
+-------------------------------------------------
+
+-> Setting up a WordPress site <-
+=================================
+
+example6 demo
+
+- Show and explain compose.yml file
+- Bring up site and show in browser
+
+-------------------------------------------------
+
+-> Automating Docker commands with Makefile <-
+==============================================
+
+Typing out the long Docker commands can become very tedious.
+My recommended approach to solving this to use a `Makefile`
+to automate building and running the containers. Once you
+start integrating with CI pipeline you can use the Makefiles
+to help you ensure that your project runs correcly
+everywhere.
+
+-------------------------------------------------
+
+-> Create a Templated Project with CookieCutter <-
+==================================================
+
+example7 demo
+
+- Run the command to generate project
+- Explain files
+
+-------------------------------------------------
+
+And now for my final trick...
+
+-------------------------------------------------
+
+-> Docker inside Docker <-
+==========================
+
+What about running docker inside of a docker container?
+Let's set up a Jenkins server that will mount the hosts
+docker binary and socket so that it can build containers
+while itself being inside a container
+
+-------------------------------------------------
+
+-> Ow, my head! <-
+==================
+
++----------------------------------+
+| Host +----------------+ |
+| | | |
+| | | |
+| binary <--------> Jenkins | |
+| | | |
+| socket <--------> | |
+| | | |
+| +----------------+ |
+| |
+| my_image_1 |
+| my_image_2 |
+| |
+| |
++----------------------------------+
+
+-------------------------------------------------
+
+-> Dockerception with Jenkins <-
+================================
+
+example8 demo
+
+- Show and explain how sharing works
+- Show working example
+
+-------------------------------------------------
+
+-> Hosting <-
+=============
+
+- Rancher
+- Kubernetes
+- Docker Swarm
+- Portainer
+
+-------------------------------------------------
+
+-> Additional Resources <-
+==========================
+
+(Docker for Beginners)
+https://docker-curriculum.com/
+(Playground for using Docker)
+https://labs.play-with-docker.com/
+(Dockerized Desktop Apps)
+https://blog.jessfraz.com/post/docker-containers-on-the-desktop/