@gunnard | github.com/gunnard | gunnard.org

php[tek] 2023

Docker

for Dev. Teams

speaker: Gunnard Engebreth

@gunnard | github.com/gunnard | gunnard.org

php[tek] 2023

Text

for Dev. Teams

speaker: Gunnard Engebreth

DOCKER

Gunnard Engebreth

Who am I

Dev: 25yrs

Focus: Php

Married, 2 boys (2yrs, 5mo)

North Georgia Mountains 30 chickens, 6 pigs, 4 goats, 2 dogs, 1 cow, 1 cat

 

@gunnard | github.com/gunnard | gunnard.org

php[tek] 2023

Docker for dev. teams

speaker: Gunnard Engebreth

What is docker?

What is a development environment?

Production

Web Server

Apache, Nginx, whatever

Database

Mysql, MirandaDB, Postgres, CouchDB ...

Language

PHP (Laravel, symphony, Yii, CakePHP, SlimpHP), Node, React, C, GO, Python ...

development

Web Server

Apache, Nginx, whatever

Database

Mysql, MirandaDB, Postgres, CouchDB ...

Language

PHP (Laravel, symphony, Yii, CakePHP, SlimpHP), Node, React, C, GO, Python ...

How to docker

Docker Containers are the ready applications created from Docker Images.  They hold the entire package needed to run the application.

Images are the building blocks of a Docker Container. Images can be pulled from Dockerhub or created by "building"

Volumes are defined to store persistant data (i.e. DB) or connect to host data (i.e. /var/www)

Docker networking allows communication between containers and also with the docker hosts

Docker-compose.yml

docker-compose.yml loads containers based off of each specified dockerfile

dockerfile

Dockerfile (php)

Docker-compose.yml

docker-compose.yml

Docker -

By Gunnard Engebreth