Docker Installation on Machine
Docker is used universally. This post will hopefully help others to install and understand docker a bit better. The first step to succeed is the installment using some basic links that are provided below.
This is the link for installing Docker Desktop on Mac: https://docs.docker.com/desktop/mac/install/
This is the link for installing Docker Engine on Ubuntu: https://docs.docker.com/engine/install/ubuntu/
Personally I have a Mac, so I used the first link to continue with the installment. Once on the site, clicking the link to download depends on the type of chip (Intel or Apple). This will automatically download a Docker.dmg, which then will have to be dragged and dropped into the Applications folder. From there, you can choose to drop it into the bar on the bottom of applications. This part is totally optional, but I recommend for easy access and use. It also is important to note that updates to Docker will be found in Settings/Preferences. It is important to update, so that you have the newest version, which is not outdated.
From this point, it is time to get started. Whatever repository you are using should be download/clone to your device and contain a Dockerfile. This will allow Docker to be used and can then use the command docker build -t hax.
This says to build Docker and name it hax, since the repository I am using is HAXcms. On Docker, there is an image section that should be listed as recently created on the files. From there, run but add the optional settings of local host, for example 80, to use. Once that is completed, Containers/Apps should be listed and able to run right away. The image below shows in the black circle the hax that is listed. I use Docker for a lot of projects, so please ignore the excess information.
What is Docker?
Docker is a platform, an open platform application that is used to build containers for developing, running, and shipping off applications. Everything that needs to communicate to one another can do it in one place. Simple.
Why is Docker Useful?
Docker is useful because it makes it simple to run through containers. It also helps to be more efficient and scales better because time is money. It makes it more streamline. The key words that people use to describe it is fast and reliable. Some companies that use Docker are Netflix, Target, Verizon, The Container Store to name a few.
Top comments (0)