Docker For Smaller Feedback Loops

dockerloops.seankilleen.com

What We'll Cover

  • What
  • Why
  • Types
  • Examples

Feedback Loops

  • Evidence
  • Context
  • Consequence
  • Action

Feedback Loops

Sense & Respond

The only feedback loop that matters

The Value Stream

Feedback Loops

Story Time

Story Time

System Doubles

docker run --name db-sql -e 'ACCEPT_EULA=Y' -e
'SA_PASSWORD=YOUR_PASSWORD' -p 1433:1433 -v F:\DockerData\db-sql\data:/var/opt/mssql/data -v
F:\DockerData\db-sql\log:/var/opt/mssql/log -v F:\DockerData\db-sql\secrets:/var/opt/mssql/secrets -d
mcr.microsoft.com/mssql/server:2019-latest

docker run --name db-sql -e 'ACCEPT_EULA=Y' -e
'SA_PASSWORD=YOUR_PASSWORD' -p 1433:1433 -v F:\DockerData\db-sql\data:/var/opt/mssql/data -v
F:\DockerData\db-sql\log:/var/opt/mssql/log -v F:\DockerData\db-sql\secrets:/var/opt/mssql/secrets -d
mcr.microsoft.com/mssql/server:2019-latest

docker run --name db-sql -e 'ACCEPT_EULA=Y' -e
'SA_PASSWORD=YOUR_PASSWORD'
-p 1433:1433 -v F:\DockerData\db-sql\data:/var/opt/mssql/data -v
F:\DockerData\db-sql\log:/var/opt/mssql/log -v F:\DockerData\db-sql\secrets:/var/opt/mssql/secrets -d
mcr.microsoft.com/mssql/server:2019-latest

docker run --name db-sql -e 'ACCEPT_EULA=Y' -e
'SA_PASSWORD=YOUR_PASSWORD' -p 1433:1433 -v F:\DockerData\db-sql\data:/var/opt/mssql/data -v
F:\DockerData\db-sql\log:/var/opt/mssql/log -v F:\DockerData\db-sql\secrets:/var/opt/mssql/secrets -d
mcr.microsoft.com/mssql/server:2019-latest

docker run --name db-sql -e 'ACCEPT_EULA=Y' -e
'SA_PASSWORD=YOUR_PASSWORD' -p 1433:1433 -v F:\DockerData\db-sql\data:/var/opt/mssql/data -v
F:\DockerData\db-sql\log:/var/opt/mssql/log -v F:\DockerData\db-sql\secrets:/var/opt/mssql/secrets
-d
mcr.microsoft.com/mssql/server:2019-latest

docker run --name db-sql -e 'ACCEPT_EULA=Y' -e
'SA_PASSWORD=YOUR_PASSWORD' -p 1433:1433 -v F:\DockerData\db-sql\data:/var/opt/mssql/data -v
F:\DockerData\db-sql\log:/var/opt/mssql/log -v F:\DockerData\db-sql\secrets:/var/opt/mssql/secrets -d
mcr.microsoft.com/mssql/server:2019-latest

Story Time

Development Environment

Story Time

System Flexibility

Story Time

CI Support

Story Time

Experimenting

Thanks

<br/> Note to self -- you can use 'b' to blank the presentation. <br/> None of the images are mine! Credits in HTML. <br/> This is a talk about training your brain to know when Docker might help. How to think about moving it into your state of the art

Image credit: https://unsplash.com/photos/wOHH-NUTvVc

Image credit: https://unsplash.com/photos/FrGYMDjdg4U <br/><br/> From https://www.radarsign.com/how-effective-are-radar-speed-signs/ <br/><br/> A pedestrian hit by a car at 40 mph has a 90% fatality rate; at 20 mph the fatality rate decreases to 10%. As you can see in the graph below, just a small reduction in speed has a dramatic effect on whether those involved live or die. <br/><br/> "Studies repeatedly show that when alerted by a radar sign, speeders WILL slow down up to 80% of the time. Typical average speed reductions are 10-20%, and overall compliance with the posted speed limit will increase by 30-60%."

Image credit: https://twitter.com/johncutlefish/status/1391934227055190019 <br/> Premise of Agile: Smaller loops with customer <br/> Premise of DevOps: Smaller loops between dev and ops <br/> Smaller Loops == Each of these examples are less expensive

Expensive: Waiting for Servers <br/> Expensive: Hanging off to other teams <br/> Better: Collaborate on containers and deploy them

Problem: Needed to run multiple Databases locally <br/> Expensive: Manually setting up DB Servers <br/> Better: Containers

SQL on Linux: https://hub.docker.com/_/microsoft-mssql-server <br/> Emulators

Linux on Konmaripo: https://github.com/excellalabs/konmaripo/commit/9c516c56ce7d0ba8056b0dc01ae9fdc240cd5abe#diff-fefee25bf9a9dbf03d1ac8db011a6f5a4a0c33bf9d8dec4f937ac8f85b1eea65

GitHub Actions for NUnit Docs: https://github.com/nunit/docs/actions/workflows/build-process.yml

Matomo <br/> Neo4j