Run Docker Containers

In this tutorial we will demonstrate how to build a container image and how to run a docker container, as well as how to persist data and exposing host ports to reach the container ports. Assumptions I will assume that you have docker installed. Running a Container Let’s start with the basics, running a container. To run a container, we instantiate a container instance from a container image. There are thousands of container images on a container registry such as docker hub, a example that we will be working with will be the ubuntu official image....

April 5, 2021 Â· 8 min Â· Ruan Bekker