Skip to content

cse18107/docker-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Docker Syllabus

  1. Intorduction to Docker
  2. Docker Architecture
  3. Installing Docker
  4. Docker Images
  5. Docker Containers
  6. Docker Networking
  7. Docker Volumes and Storage
  8. Docker Compose
  9. Docker Registry
  10. Multi-stage Docker Builds
  11. Monitoring and Logging in Docker
  12. Orchestrating Docker with Kubernetes (intorduction)
  13. Projects:
    1. Project 1: 3 Tire Application with Docker Compose
    2. Project 2: Deploying a Web Application with Nginx and Mysql

Docker installation in EC2 instance

➡️ STEP 1: create a AWS EC2 instance, and connect to the ssh client.

➡️ STEP 2:  run command sudo apt-get update

➡️ STEP 3: run command sudo apt-get install docker.io

➡️ STEP 4: run command sudo systemctl status docker the check the status of your docker engine.

➡️ STEP 5: run command sudo usermod -aG docker $USER to add my current user to your docker group to avail permission

➡️ STEP 6: run command newgrp docker to refresh the group

How to create container from existing image(in EC2) and basic commands

➡️ STEP 1: run command docker login . Then enter your username and password.

➡️ STEP 2: run command docker pull hello-world to pull the image name "hello-world" from docker registry.

➡️ STEP 3: run command docker images to check if the image is installed properly or not

➡️ STEP 4: run command docker run hello-world to create container from 'hello-world'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published