top of page

Docker-assignments

Docker-Day-1-Free-trail

### Project Scenario: Installing Docker and Validating Basic Commands

  1. Install Docker using `yum`:

  2. Start the Docker service:

  3. Enable Docker to start on boot:

  4. Check available Docker images:

  5. Run a "Hello World" container:

  6. Explain from where the image is downloaded:

  7. List running containers:

  8. List all containers (including stopped ones):


### Project Scenario: to further explore Docker by running a container, assigning a name, and validating each step:

  1. Run "Hello World" container again

  2. Create a new container with an assigned name

  3. Check running containers

  4. Check all containers (including stopped ones)


### Project Scenario: to explore Docker image search, naming conventions, and setting up a Docker Hub repository:

  1. Search for Docker images using the `docker search` command

  2. Explain Docker image naming convention

  3. Create a Docker Hub repository

### Project Scenario: to pull an Nginx image, tag it, log in to Docker Hub, push the image, and verify its presence on Docker Hub

  1. Pull the Nginx image from Docker Hub

  2. Tag the Nginx image with `test_tag`

  3. Log in to Docker Hub

  4. Push the tagged Nginx image to Docker Hub

  5. Check the image on Docker Hub

  1. ##- Docker Hub Credentials

  2. /root/.docker/config.json

  3. Common Issues and Fixes with `/root/.docker/config.json

bottom of page