How to Install Docker Compose on Ubuntu 21.04 and 21.10

November 15, 2021 A Goodman

This short article shows you how to set up Docker Compose on Ubuntu 21.04 or 21.10. Before getting started, make sure you have Docker Engine installed (note that Docker Compose doesn’t come with Docker Engine on…

Docker: How to Retag an Image

November 14, 2021 The Plumber

You can retag a Docker image referenced by name and tag as follows: Example: You can also tag/retag an image with its ID: Further reading Start, Pause, Restart, Stop, and Delete a Docker Container How to…

Start, Pause, Restart, Stop, and Delete a Docker Container

November 14, 2021 The Plumber

This short article lists the most important commands you need to know for managing the lifecycle of a Docker container. Starting a Docker container This command is used to start a new container from a single…

Docker: How to Name or Rename a Container

November 9, 2021 A Goodman

You can do everything you want with a Docker container just by using its ID. That being said, giving a container a meaningful and human-friendly name will make your day more joyful and convenient. Naming To…

How to Delete Docker Images on your System

November 7, 2021 A Goodman

Overview If there are some pulled images that you are no longer need then you can remove them from your system to free up your storage with the following command: rm stands for remove. One important…

How to Get the Size of a Docker Image

November 3, 2021 A Goodman

This article shows you how to determine the size of a Docker image that is hosted on Docker Hub or a Docker image that was pulled to your local system. Docker Hub’s Images Go to the…

Docker: How to List Running and Stopped Containers

November 2, 2021 A Goodman

In order to view running Docker containers on your machine, you can use the following command: You will see something like this: To list both running and stopped containers, you can add -a flag: Further reading:…

Docker: Execute Commands inside a Running Container

November 2, 2021 A Goodman

To access the terminal of a running container, you can use the following command: Or: You can also replace sh with bash. Note: To exit the container without stopping or killing it, you can press Ctrl…

Docker: How to See All Pulled Images

November 3, 2021 A Goodman

In order to list all images on your Docker host, you can run the following command: The result you get depends on what images you have pulled before. Here’s mine: Each image in the list comes…

Installing Docker on Ubuntu 21.04, 21.10, and 20.04

November 1, 2021 A Goodman

This short and straight-to-the-point article shows you how to install Docker on Ubuntu 21.04 and 21.10 (it also works fine on Ubuntu 20.04 LTS). Without any further ado, let’s see the steps to get the job…

How to Check Docker Desktop and Docker Engine Versions

October 30, 2021 A Goodman

This concise article shows you how to check your Docker Desktop and Docker Engine versions (note that they are different numbers). Without any further ado (like talking about the history of the universe or why you…

Using Docker Compose to speed up WordPress development

December 2, 2020 A Goodman

Using Docker Compose to speed up your WordPress development. Introduction In the old days, to set up a WordPress project on our local computer, we used to create a new MySQL database, manually download the WordPress…

1 2