
Docker Part 1: Installation and Hello World
This is a post for myself to take notes on Udemy's course "Complete Docker and Kubernetes Course - learn all core Docker features including Dockerfiles and Docker Compose" Table of Contents Download Docker Run hello-world image in Docker Download Docker I have a mac, so I installed it from this link: https://docs.docker.com/desktop/setup/install/mac-install/ A docker.dmg file is downloaded. After it's done downloading, double click it and move it in the Applications folder. Run: docker --help . If it shows the following then you installed docker successfully. Note: if it returns: zsh: command not found: docker then it may not be pointed correctly in the path. Run: echo $PATH to see if docker is present. If not, run: export PATH="/Applications/Docker.app/Contents/Resources/bin:$PATH" and try docker --help again. Run hello-world image in Docker When learning a new programming language, people often start with a Hello World program. In Docker, we do something similar using the hello-world
Continue reading on Dev.to Beginners
Opens in a new tab




