21 Days of Docker-Day 1 — Introduction to Docker

Docker Architecture

As mentioned above, the docker uses a client-server architecture. The Docker client talks to the Docker daemon, which does the heavy lifting of building, running, and distributing your Docker containers

Docker Registries

A Docker registry stores Docker images it’s similar to GitHub for docker. Docker Hub is a public registry that anyone can use, and Docker is configured to look for images on Docker Hub by default. You can even run your own private registry(eg: Nexus, Artifactory)

https://hub.docker.com/

Docker Installation

Docker support a wide variety of operating systems which includes

  • Linux
  • Mac
  • Windows

Installation of Docker is Pretty straightforward

NOTE:  in general, kernel 3.10 is the absolute minimum kernel version that supports the features that Docker requires to run stable (newer versions are preferred though).

Centos7

  • Run this command. It will add the official Docker repository, download the latest version of Docker, and install it:
curl -fsSL https://get.docker.com/ | sh
  • After the installation has completed, start the Docker daemon:
sudo systemctl start docker
  • Verify that it’s running:
sudo systemctl status docker
  • Make sure its enabled after reboot
sudo systemctl enable  docker
  • If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:
sudo usermod -aG docker your-user

NOTE: Remember to log out and back in for this to take effect!

For more info 

Get Docker Engine – Community for CentOS

https://docs.docker.com/install/linux/docker-ce/centos/

MAC Install Docker Desktop on Mac

https://docs.docker.com/docker-for-mac/install/

Please follow me with my Journey

This time to make learning more interactive, I am adding

  • Slack
  • Meetup

Please feel free to join this group.

Slack: 

https://100daysofdevops.slack.com/join/shared_invite/enQtNzg1MjUzMzQzMzgxLWM4Yjk0ZWJiMjY4ZWE3ODBjZjgyYTllZmUxNzFkNTgxZjQ4NDlmZjkzODAwNDczOTYwOTM2MzlhZDNkM2FkMDA

Meetup Group

If you are in the bay area, please join this meetup group https://www.meetup.com/100daysofdevops/


14 Replies to “21 Days of Docker-Day 1 — Introduction to Docker”

  1. I was more than happy to find this site. I need to to thank you for your time due to this fantastic read!! I definitely appreciated every part of it and i also have you saved to fav to see new stuff in your blog.|

  2. Hello would you mind sharing which blog platform you’re using? I’m looking to start my own blog in the near future but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique. P.S Sorry for being off-topic but I had to ask!|

    1. Thanks Lamonica, I am using wordpress, please let me know if you need any other info

      Thanks
      Prashant

  3. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thank you!|

    1. Sorry for the trouble Shanae, I checked from my end and unfortunately there is no such option

  4. Thank you for another informative blog. Where else could I get that type of info written in such a perfect way? I’ve a project that I am just now working on, and I’ve been on the look out for such information.

  5. Hi there! I just would like to give you a huge thumbs up for the great information you have got here on this post. I’ll be coming back to your web site for more soon.|

  6. Do you mind if I quote a few of your posts as long as I provide credit and sources back to your website? My blog is in the exact same area of interest as yours and my users would genuinely benefit from some of the information you provide here. Please let me know if this alright with you. Thanks a lot!|

Comments are closed.