Skip to content

Ahmedsamymahrous/ITI_DockerLab_Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

ITI - Docker Lab 🐋

Task 1: Working with Docker Hello-world Image

Objective

Learn how to run a container using the hello-world image and manage containers and images.

Steps

1. Run a Container with hello-world Image

2. Check Container Status and Explain

3. Start the Stopped Container

4. Remove the Container

5. Remove the Image


Task 2: Running Container with Ubuntu Image

Objective

Run an Ubuntu container in interactive mode, create a file inside it, and manage containers.

Steps

1. Run Ubuntu Container in Interactive Mode

2. Create a File inside the Container

3. Stop and Remove the Container

4. Check File Status

5. What happened to hello-docker file?

6. Remove All Stopped Containers

7. Bonus: Remove All Containers in One Command


Task 3: Creating a Custom Nginx Docker Image

Objective

Create a custom Docker image using Nginx and a local HTML file.

Steps

1. Create a Local HTML File

2. Write Dockerfile and Copy the HTML file to the Docker Image

3. Run Container with New Image

4. Test the Container, open your browser and navigate to http://localhost:8088 to check if everything is okay

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published