![install docker mac os install docker mac os](https://i1.wp.com/www.techjunkie.com/wp-content/uploads/2016/05/website-dock-icon-2.jpg)
This guide was meant to be a quick run through showing how to setup a working Docker container environment. Hopefully this will enable me to bring out some future blog posts faster as I spend less time configuring infrastructure and more time hand’s on with interesting tech. In this post we’ve installed VMware’s PhotonOS, Docker and Portainer and then configured them to all work together nicely. That’s it! You’ll be prompted login and will then be brought to the home screen. Select the local option and then connect. Open Portainer by pointing a web browser at port 9000 of the machines IP address (type ‘IP address’ if you don’t know the IP). Portainer will now be installed and listening on port 9000. The command should look like this: Example of command input This is due to the older ‘portainer/portainer’ container being deprecated. Nov 2021 Update: I have updated the above path to reference the portainer/portainer-ce container.
![install docker mac os install docker mac os](https://i.ytimg.com/vi/fAA732Tp7BQ/maxresdefault.jpg)
After a minute or so you’ll be brought to the login screen. Once finished, power on the new VM and connect to the console. You will be asked to give the VM a name, agree to the EULA, choose a network adapter, etc. Select the option to deploy an OVF template.įollow the wizard to upload and configure your new PhotonOS virtual machine. Login to vCenter and right-click on a host or cluster. Step 1 – Deploying Photon OSĪs my HomeLab currently runs vSphere 6.7 I’ll be using the OVA distribution of Photon OS available here: When run, the container shares the same OS kernel with other containers. In essence applications and their dependencies are packaged up into a ‘container’. Take a look at which applications are available here: Whereas a virtual machine is an operating system sharing hardware with other VM’s, Docker containers are applications sharing the operating system with other applications.Īpplications first have to be ‘dockerised’ in order to work. What is Docker?įor the uninitiated Docker makes it much easier to deploy and run applications. In this post I’m going to be installing Docker within my HomeLab on top of VMware’s new Photon OS, and showing how to manage the system with Portainer. I’ve know about containers for awhile now but have yet to take a look. There has to be a better way.Įnter docker. Each time I needed to setup a website I was manually provisioning a VM, installing Debian, configuring the system by hand, installing Nginx, etc. It recently occurred to me that simple tasks such as setting up an internal web server or database were taking too long.