Skip to Content
Skip to content
Tutorials

DevOps Tutorials

Focused DevOps tutorials for diagnosing container, build, and deployment problems without digging through scattered forum threads. Each guide isolates one operational task—such as shrinking an image, verifying a health check, scanning an SBOM with Grype, or reloading Compose services without dropping requests.

Run the minimal Compose or Dockerfile example locally, compare the exact CLI output, and apply the fix to your own stack.

Docker
Start Two Services With docker compose up Level: Beginner

Write a compose.yaml for a web server and a checker, start both, read the result and remove them. After this, you can run a two-service project from one file.

Docker
Copy a File Out With docker cp Level: Beginner

Copy a file or folder between a container and your computer, even from a stopped container. After this, you can rescue a file before you delete the container.

Docker
Fix Docker Desktop Stuck on Starting Level: Beginner

Check virtualization, WSL, the docker-desktop distribution, the engine context and memory in the order that finds the cause fastest.

Docker
Verify Docker Desktop After Installation on Windows Level: Beginner

Check CLI resolution, the intended local context and engine connection, then run and verify cleanup of a disposable test container.

Docker
Mount a Host Folder Without Losing Data Level: Beginner

Share a folder from your computer with a container, make it read-only and see how a mount can hide files that were already there.

Docker
Open a Shell Inside a Running Container Level: Beginner

Open a shell with docker exec, run one command without it and read the two errors you will meet first.

Docker
Read Logs From a Container That Just Exited Level: Beginner

Find a stopped container, read its exit code and log, and tell a crash from a kill. After this, you can see why a container stopped in under a minute.

Docker
Run a One-Off Container With docker run Level: Beginner

Run a container for a single command, pass a setting in with -e and use --rm so nothing is left behind. After this, you can run a quick test in a container and leave no clutter.

Docker
Put Two Containers on One User-Defined Network Level: Beginner

Create a network, reach one container from another by name and see the same call fail on the default network. After this, you can fix a bad address error between containers.

Docker
Write a Dockerfile That Builds on the First Try Level: Beginner

Write a four-line Dockerfile, build it and run it, then read the errors for a missing file and a missing Dockerfile.

Docker
Connect a Container to Two Networks Level: Intermediate

Put a proxy on a front and a back network and prove which containers can reach which. After this, you can connect one container to several networks and keep the rest isolated.

Docker
Find What Is Using Disk With docker system df Level: Intermediate

Read the docker system df summary, find the big image or volume with the verbose form, and decide what is safe to remove.