VMware last week announced its involvement with container fever that has gripped the world by announcing open source Project Photon and Project Lightwave.
Project photon is a light weight linux deployment for cloud specific applications while project lightwave provides the security aspect around it. Together both are intended to provide a gateway for VMware towards container architecture.
You can read more from this blog post as well.
Photon can run off of a minimal foot print of 300 MB making it pretty light weight.
I deployed photon on my VMware Fusion on my Mac (obviously) and here’s how it went.
Download the ISO (unless you want to build one off of git)
Deploy a new vm and make sure you select the OS type as Linux kernel 3.x 64-bit
Once you power on the VM
Click Install
Typical Linux install until you are asked to pick the kind of instance you want to deploy. Because I wanted to deploy a container, I picked the second option.
Select a hostname and a password and off you go!
Boom done, now next to pull our first container and get that part going! Press a key to reboot.
Login as root and the password you set. Once you are in do a ifconfig so you know your ip unless you have DNS and everything setup already.
In the container OS mode, docker is already up and ready to rock but lets make sure it boots up every time the system is up. Lets do a “systemctl enableĀ docker” and do a “systemctl start docker” to start the service.
Lets pull a docker image, I recently uploaded a basic nginx container so lets try to run that.
lets do a search just to be sure š Do a “docker search rjapproves/myfirstcontainer” (replace my repo with what ever you like)
Next lets do a docker pull.
Do a “docker pull rjapproves/myfirstcontainer”
Once we do a pull do a “docker run -d -p 80:80 rjapproves/myfirstcontainer” (the switches mention run as a daemon and map the external to internal port)
Finally test out your browser and docker’s running!
Right now project lightwave is not up for download to try out the security features but when its out we will explore that further.
My docker repo can be found at docker.io/rjapproves/ and you can do a quick search as needed.
Follow Us!