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
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)
Docker support a wide variety of operating systems which includes
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).
- 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
MAC Install Docker Desktop on Mac
Please follow me with my Journey
- Twitter:@100daysofdevops OR @lakhera2015
This time to make learning more interactive, I am adding
Please feel free to join this group.
If you are in the bay area, please join this meetup group https://www.meetup.com/100daysofdevops/