vSphere Integrated Containers - dch-photon deployment
search cancel

vSphere Integrated Containers - dch-photon deployment

book

Article ID: 317011

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

To guide users how to deploy dch-photon  step-by-step. Dch-photon is needed for building and pushing images.

Environment

VMware vSphere Integrated Containers 1.x

Resolution

Use [email protected] and password for that account or another account that has rights to log in to the registry: 
  • Create dch-photon container and map port 12375 to 2375. This is for using dch-photon without TLS Authentication: docker -H <VCH-DCH_IP>:2376 --tls create -p 12375:2375 --name dch-photon <VIC_APPLIANCE_FQDN>/default-project/dch-photon:1.13
For using dch-photon with TLS Authentication, please refer to this page: https://vmware.github.io/vic-product/assets/files/html/1.3/vic_app_dev/dchphoton_options.html
  • Start newly created dch-photon container : docker -H <VCH-DCH_IP>:2376 --tls start dch-photon
  • Create folder structure with Registry CA cert (You can download registry CA  from VIC portal "Administration">>"Configuration">>'"Download".) mkdir certs.d/<VIC_APPLIANCE_FQDN>/ca.crt
  • Copy created folder with registry CA cert to VCH-DCH:  docker -H <VCH-DCH_IP>:2376 --tls cp certs.d/ dch-photon:/etc/docker/
  • Stop and start dch-photon container:
 docker -H <VCH-DCH_IP>:2376 --tls stop dch-photon 
 docker -H <VCH-DCH_IP>:2376 --tls start dch-photon

 
You are now ready to use dch-photon to build/push images. To verify everything is working as expected, run:
docker -H vch_address:12375 info (for non TLS connection) 
docker -H vch_address:12376 --tls info (for TLS connection) 




Additional Information

Impact/Risks:
Without dch-photon VIC loses partial functionality