Docker-assignments
Docker-Day-1-Free-trail
### Project Scenario: Installing Docker and Validating Basic Commands
Install Docker using `yum`:
Start the Docker service:
Enable Docker to start on boot:
Check available Docker images:
Run a "Hello World" container:
Explain from where the image is downloaded:
List running containers:
List all containers (including stopped ones):
### Project Scenario: to further explore Docker by running a container, assigning a name, and validating each step:
Run "Hello World" container again
Create a new container with an assigned name
Check running containers
Check all containers (including stopped ones)
### Project Scenario: to explore Docker image search, naming conventions, and setting up a Docker Hub repository:
Search for Docker images using the `docker search` command
Explain Docker image naming convention
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
Pull the Nginx image from Docker Hub
Tag the Nginx image with `test_tag`
Log in to Docker Hub
Push the tagged Nginx image to Docker Hub
Check the image on Docker Hub
##- Docker Hub Credentials
/root/.docker/config.json
Common Issues and Fixes with `/root/.docker/config.json