DevOps Classroomnotes 20/Aug/2023

Docker Container Creation

  • Create a DockerHub Account Refer Here
  • Navigate to Docker playground Refer Here, Login with docker hub and start
    Preview
    Preview
  • Docker Playground gives us a linux instance with Docker pre installed for 4 hours of time
  • Note: If lot of users acess in parallel, Docker Playground will have some issues
    Preview
  • Shortcut for full screen Toggle full screen screen ALT + Enter
  • Check Info
    Preview
  • Dealing with command line
    • Instruction Manual: --help
    • cheatsheat Refer Here

Creating a Docker container

  • Process
    Preview
  • When we install docker we get two major components
    • docker client
    • docker engine (server)
  • To create container user has to execute docker container run <image>
  • docker daemon will received this request and checks if the image is present locally.
  • If it is not present, it downloads from registry (default registry is docker hub)
  • One image is present then the container is created
    Preview

Exercise:

  • Create a Docker hub account
  • Login into Docker playground
  • run the nginx container docker container run nginx

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube