
Goal:
Context:
Lets show how you can help a team migrate their infrastructure to Docker containers..
Part 2 Activities:
Monitor the new environment w/Docker (stats) & Prometheus, you can see how to utilize a cool feature like Docker Compose & cAdvisor.
Lessons Learned:
- Create a Prometheus YAML File
- vi prometheus.yml
- Create a Prometheus Service
- vi docker-compose.yml
- docker-compose up -d
- docker ps
- Create Stats Shell
- Investigate cAdvisor
- Stats in Docker
- Doper Stats
Create a Prometheus YAML File:
- Collect metrics & monitoring using Prometheus/cAdvisor to deploy containers using docker-compose
vi Prometheus.yml:


Create a Prometheus Service:
vi docker-compose.yml:

docker-compose up -d:

docker ps

Create Stats Shell:

Investigate cAdvisor:


Stats in Docker:
- docker stats

Doper Stats:
- vi stats.sh
- chmod a+x stats.sh

