Lecture Notes 1.2.1 (Installation of Docker, Docker Hub, Difference Between Docker Image and Container)
Lecture Notes 1.2.1 (Installation of Docker, Docker Hub, Difference Between Docker Image and Container)
2
Installation Of Docker
On Ubuntu:
1. Update the apt package index and install packages to allow apt to use a repository over HTTPS:
sudo apt-get update && sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
On Windows:
4. Verify Installation:
Open Command Prompt or PowerShell and run:
docker –-version
Docker Hub
Docker Hub is a cloud-based repository where Docker users and partners create, test, store, and
distribute container images. It provides:
· Image Storage: Centralized place for public and private images, ensuring easy access and
sharing.
· Webhooks: Trigger actions after a successful push to the repository, automating workflows.
· Official Images: Curated images from Docker, including operating systems, databases, and
application services, ensuring security and best practices.
· Image Creation: Knowing that images are immutable templates helps in creating consistent and
reproducible environments.
Video Links:
https://youtu.be/Gjnup-PuquQ
https://youtu.be/wi-MGFhrad0
https://youtu.be/a1M_thDTqmU
Textbooks:
1. Matthias, Karl, and Sean P. Kane. Docker: Up and Running. 2nd ed., O'Reilly Media, 2018.
2. Bullington-McGuire, Richard, Andrew K. Dennis, and Michael Schwartz. Docker for Developers: Develop and Run Your
Application with Docker Containers. 1st ed., Apress, 2019.
Reference Books:
3. Turnbull, James. The Docker Book: Containerization is the New Virtualization. 1st ed., James Turnbull, 2014.
4. Freeman, Emily. DevOps for Dummies. 1st ed., For Dummies (Wiley), 2019.
Web Links:
• Docker Documentation
• Docker Tutorial
8
THANK YOU