Lisa H. Ridley Savas Labs
Docker for Development: Getting Started
DrupalCamp Chattanooga November 5, 2016
Docker for Development: Getting Started Lisa H. Ridley Savas Labs - - PowerPoint PPT Presentation
Docker for Development: Getting Started Lisa H. Ridley Savas Labs DrupalCamp Chattanooga November 5, 2016 Who am I? Lisa Ridley, Director of Client Success, Savas Labs Lead Developer and Project Manager Automated Testing Champion
DrupalCamp Chattanooga November 5, 2016
2
3
Development Environment # users MAMP / WAMP / Locally installed LAMP/LEMP Stack 10 Vagrant / VMWare / Parallels / VirtualBox — Virtual Machines 6 Remote server 4 Docker / Containers 3 Other
4
5
5
6
7
Bins/Libs App
Guest O/S
Bins/Libs App
Guest O/S
Bins/Libs App
Guest O/S
Bins/Libs App Bins/Libs App Bins/Libs App
7
Bins/Libs App Bins/Libs App Bins/Libs App
7
Bins/Libs App Bins/Libs App Bins/Libs App
Guest Operating System Libraries and Binaries App App App
8
9
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
version: '2' services: web: domainname: local.hptn.org hostname: local.hptn.org container_name: local.hptn.org ports:
environment:
image: savaslabs/hptn-web:1.6 depends_on:
volumes:
memcached: container_name: hptn_memcached image: memcached:1.4.21 environment:
11
db: container_name: hptn_db image: mysql:5.5.47 volumes:
environment: MYSQL_DATABASE: 'hptn_docker' MYSQL_ROOT_PASSWORD: 'root' ports:
selenium: container_name: hptn_selenium image: selenium/standalone-firefox:2.53.0 volumes:
volumes: mysql-data: driver: local
12
13
14