Develop Operations or DevOps is a discipline that bridges software development and IT operations.
- Docker Desktop
- WSL, WSL 2
Container management.
One of the more powerful features of Docker is the ability to compose containers. The db-primer project makes good use of this.
version: '2.1'
services:
db:
image: postgres:10.5-alpine
ports:
- "5432:5432"
pgadmin:
image: thajeztah/pgadmin4
ports:
- "5050:5050"
Docker Desktop Documentation
Docker Desktop WSL 2 backend
Windows Subsystem for Linux Installation Guide for Windows 10
Updating the WSL 2 Linux kernel
A tool for provisioning infrastruture. Typically you will provision to AWS, Azure, or VMware vSphere. However, a good starting example is to provision a local Docker container.
provider "docker" {
host = "tcp://localhost:2375/"
}
resource "docker_image" "nginx" {
name = "nginx:1.11-alpine"
}
resource "docker_container" "nginx-server" {
name = "nginx-server"
image = "${docker_image.nginx.latest}"
ports {
internal = 80
}
volumes {
container_path = "/usr/share/nginx/html"
host_path = "/home/scrapbook/tutorial/www"
read_only = true
}
}
Download Terraform
Terraform Documentation
Provisioning and configuration management.
Similar tools:
- Puppet
- Chef
- SaltStack
---
- name: Install Git
apt:
name: git
state: latest
install_recommends: no