Docker Kata 4: Running a Web Server in a Container

Learn to run a web server in a container and view its default page.

Containers are useful as components of complex information systems. Web servers are, of course, an important component of any web-based application. This kata will demonstrate how containers can be used to run a web server.

Step 1: Run a web server

The command to stop and remove all the containers is given below.

Get hands-on with 1200+ tech skills courses.