Simple Docker Containers

# Introduction In this lab, we will look at some basic Docker commands and a simple build-ship-run workflow. We'll start by running some simple containers, then we'll use a Dockerfile to build a custom app. Finally, we'll look at how to use bind mounts to modify a running container as you might if you were actively developing using Docker. # Prerequisites You will need all of the following to complete this lab: - A clone of the lab's GitHub repo. - A DockerID. # Run some simple Docker containers There are different ways to use containers. These include: 1. **To run a single task:** This could be a shell script or a custom app. 2. **Interactively:** This connects you to the container similar to the way you SSH into a remote server. 3. **In the background:** For long-running services like websites and databases. In this lab, you'll try each of those options and see how Docker manages the workload.

|60 : 00

Click the virtual machine below to start practicing