Photon Docker Engine
- v1.0 - 12/8/2016: Initial release.
This software blueprint will update and configure the existing Docker engine on a deployed Photon OS VM. It enables the Docker engine to listen on local Unix sockets as well as remotely over TCP 2375 (insecure). To use this blueprint, you must have vRA 7.2, an Enterprise license, and the software bootstrap agent installed. Since some slight modifications have to be made to install the guest agent/software bootstrap agent, follow these instructions below.
Installing the guest/software agent on Photon OS
- From a fresh Photon OVA (https://vmware.github.io/photon/), import it into your vSphere.
- Change the root password to your preference (defaults to 'changeme').
- If you choose, update the packages from the Photon repo with
tdnf distro-sync -y
- Install these packages with
tdnf install -y unzip gawk wget perl chkconfig dmidecode
- Create additional directories with
mkdir /opt /opt/vmware-jre
- Reboot Photon with a simple
reboot
command. - From a session inside your Photon template, download the agent installer script with
wget --no-check-certificate https://<vraFQDN>/software/download/prepare_vra_template.sh
- Edit the prepare_vra_template.sh script using vim or a similar editor at the following lines:
- Line 31: arch=$ARCH64
- Line 33: archSoftwareAgentRPM=rhel64
- Line 36: distro=rhel64
- Line 42: use_rpm=true
- Make sure the script is executable with
chmod +x prepare_vra_template.sh
- Execute the script and fill in the remainder of the details as prompted.
Sign in to be able to add comments.