Puppet with Docker: How I Tested Master and Agent

What I Did I wanted to try Puppet without dedicating two full VMs. I ran a Puppet master and agent in separate Ubuntu Docker containers on my machine. Docker host commands work the same on Ubuntu and Arch. Installing Puppet Master Download the Ubuntu image: sudo docker pull ubuntu Create a container for Puppet master: sudo docker run --name puppet-master -it ubuntu exit Start the container: sudo docker start puppet-master Open the bash shell of the Puppet master container: ...

July 28, 2022 · 2 min · Saad

Creating My First Docker Container

What I Did Here After installing Docker, I wanted to run an actual Ubuntu container — not just hello-world. The steps inside this post are the same on Arch Linux and Ubuntu hosts. Only the Docker installation differs — see Docker on Arch Linux and Ubuntu for that part. Arch Linux (host) Make sure Docker is installed and running on your Arch machine first: sudo pacman -S docker sudo systemctl enable --now docker systemctl status docker Pull the Ubuntu image sudo docker pull ubuntu Create and enter a container sudo docker run --name my-container -it ubuntu What those flags mean: ...

July 27, 2022 · 2 min · Saad

Docker on Arch Linux and Ubuntu: How I Got It Running

Why I Started Using Docker I wanted a way to run apps without messing up my main system. Docker packs an app with everything it needs into a container — a small, isolated environment that shares my kernel but stays separate from everything else. If something breaks inside a container, I delete it and start over. No reinstalling the whole OS. Containers vs Images (Quick Version) Image — a read-only template (like a recipe) Container — a running instance of that image (like the actual dish you cooked) You build or pull an image once. You can spin up as many containers from it as you want. ...

July 26, 2022 · 2 min · Saad