Skip to content

Frequently Asked Questions

Jobin Raju George edited this page Mar 30, 2016 · 38 revisions

Q. How do I get started with Project Photon?

A. You can download the latest Project Photon binaries and documentation including the Getting Started Guide. Project Photon has been validated on vSphere 5.5, vSphere 6.0, vCloud Air, VMware Fusion, and VMware Workstation.

Q. What kind of support comes with Project Photon?

A. Project Photon is a technology preview and it is supported through community efforts and direct developer engagement in the communities. Potential users of Project Photon should start with the Photon microsite.

Developers who might want the source code, including those interested in making contributions, should visit the Project Photon Github repository.

Q. How can I contribute to Project Photon?

A. We welcome community participation in the development of Project Photon and look forward to broad ecosystem engagement around the project. Getting your idea into Project Photon is just a GitHub pull request away.

Q. How does Project Photon relate to VMware’s announcement of Project Lightwave?

A. Project Lightwave is an open-sourced project that provides enterprise-grade identity and access management services, and can be used to solve key security, governance, and compliance challenges for a variety of use cases within the enterprise. Through integration between Project Photon and Project Lightwave, organizations can enforce security and governance on container workloads, for example, by ensuring only authorized containers are run on authorized hosts, by authorized users.

Q. Will VMware continue to support other container host runtime offerings on vSphere?

A. YES, VMware is committed to delivering an infrastructure for all workloads, and for vSphere to have the largest guest OS support in the industry and support customer choice. Toward those goals, VMware will continue to work with our technology partners to support new Guest Operating Systems and container host runtimes as they come to the market. Open-sourcing Project Photon will enable optimizations and enhancements for container host runtimes on VMware Platform are available as reference implementation for other container host runtimes as well.

Project Photon

Q. What is Project Photon?

A. Project Photon is an open source, Linux container host runtime optimized for VMware vSphere®. Project Photon is extensible, lightweight, and supports the most common container formats including Docker, Rocket and Garden. Project Photon includes a small footprint, yum-compatible, package-based lifecycle management system, and can support an rpm-ostree image-based system versioning. When used with development tools and environments such as VMware Fusion®, VMware Workstation™, HashiCorp (Vagrant and Atlas) and a production runtime environment (vSphere, VMware vCloud® Air™), Project Photon allows seamless migration of containers-based Apps from development to production.

Q. How to report a security vulnerability in Project Photon?

A. VMware encourages users who become aware of a security vulnerability in VMware products to contact VMware with details of the vulnerability. VMware has established an email address that should be used for reporting a vulnerability. Please send descriptions of any vulnerabilities found to [email protected]. Please include details on the software and hardware configuration of your system so that we can duplicate the issue being reported.

Note: We encourage use of encrypted email. Our public PGP key is found at kb.vmware.com/kb/1055.

VMware hopes that users encountering a new vulnerability will contact us privately as it is in the best interests of our customers that VMware has an opportunity to investigate and confirm a suspected vulnerability before it becomes public knowledge.

In the case of vulnerabilities found in third-party software components used in VMware products, please also notify VMware as described above.

Q. Why is VMware creating Project Photon?

A. For vSphere customers, Project Photon can extend the capabilities of the software-defined data center such as security, identity and resource management to containerized workloads. Organizations can then leverage a single infrastructure architecture for both traditional and cloud-native Apps, and leverage existing investments in tools, skills and technologies. This converged environment will simplify operation and troubleshooting, and ease the adoption of Cloud-Native Apps. Project Photon can provide a reference implementation for optimizing containers on VMware platforms across compute, network, storage and management. For example, Project Photon can deliver performance through kernel tuning to remove redundant caching between the Linux kernel and the vSphere hypervisor, and advanced security services through network micro-segmentation delivered by VMware NSX™, and more.

Q. Why is VMware open-sourcing Project Photon?

A. Open-sourcing Project Photon encourages discussion, innovation, and collaboration with others in the container ecosystem. In particular, we want to make sure the innovations we introduce to Photon to run containers effectively on VMware are also available to any other container runtime OS. Additionally, VMware is committed to supporting industry and de facto standards, as doing so also supports stronger security, interoperability, and choice for our customers.

Q. Why can't I SSH in as root?

A. By default Photon does not permit root login to ssh. To make yourself login as root using SSH set PermitRootLogin yes in /etc/ssh/sshd_config, and restart the sshd deamon.

Q. Why netstat is not working?

A. netstat is deprecated, ss or ip (part of iproute2) should be used instead.

How to install new packages?

Q. Why yum command is not working in minimal?

A. To install packages from cdrom, mount cdrom using following command

 mount /dev/cdrom /media/cdrom

Then, you can use tdnf to install new packages. For example, to install the vim editor,

 tdnf install vim

Q. How to build new package RPM?

A. Assuming you have an Ubuntu development environment, setup and get the latest code pull into /workspace. Lets assume your package name is foo with version 1.0.

cp foo-1.0.tar.gz /workspace/photon/SOURCES
cp foo.spec /workspace/photon/SPECS/foo/
cd /workspace/photon/support/package-builder
sudo python ./build_package.py -i foo

Q. I just booted into freshly installed Photon, why docker ps not working?

A. Make sure docker daemon is running, which, by design, is not started at boot time.

Q. What is the difference between Micro/Minimal/Full installation of Photon?

A. Micro is smallest version - around 260MB, to be used as base for customization. Minimal is Micro plus Docker and Cloud-init packages. Full contains all the packages shipped with ISO.

Q. What packages are included in Micro/Minimal/Full?

A. See packages_minimal.json as an example

Q. How do I transfer/share files between Photon and my host machine?

A. We are working on supporting some standard options. Currently, I am using sshfs for file sharing between host and Photon.

Q. Why is the ISO over 900MB, when I hear that Photon is a minimal installation?

A. When you mount the ISO to a machine and boot to the Photon installer, you'll be able to choose one of the installation options. Micro currently takes about 260MB; Minimal about 330MB and the Full installation option will take approximately 1.7GB.

Clone this wiki locally