Almost every project I work on now runs inside Docker, including this site. The reason is simple: the environment that runs on my machine should be the same one that runs in production, and the same one a teammate gets when they clone the repo. No more "works on my machine." The container is the machine, and it is identical for everyone.
It did not start that clean. These articles trace the path from learning Docker as a set of notes and aliases to running full Linux environments for real project setups, including helping a coworker stand up a Windows machine and configuring Arch from scratch. The recent version of this discipline shows up in my Core WP starter and in this Jekyll site, both of which boot a complete containerized stack on the first command.
Docker
The foundation: what Docker is, the commands worth committing to muscle memory, and the shell aliases I use to make the daily container work less tedious.
-
Helpful Docker Shell Script Aliases and Functions
Quick shell script snippets for more easily working with docker commands. These are specific to my workflow, but maybe they'll help you with creating new ideas.
-
Docker Notes
These are just my notes while learning docker with some resources and basic commands.
Linux environments
Standing up a Linux box from the command line: a full Ubuntu-on-Windows setup through WSL, creating and configuring users, and installing a working toolchain on Arch.
-
Installing fish, PHP, Composer, and nvm on Arch Linux (with Docker)
How to install the fish shell, PHP, Composer, and nvm on Arch Linux, with a Docker image setup. Step-by-step commands and config notes.
-
Creating User Through Command Line on Linux (Ubuntu 20.04)
Just some notes for creating a new user and setting up an environment on Linux (Ubuntu 20.04)
-
Install Ubuntu and Docker Desktop for Windows 10 (Early 2021)
Learn how to set up Ubuntu on Windows 10 using Window Subsystem for Linux (WSL)
Want to get in touch? Connect on LinkedIn or send an email .