Cumulocity-IoT / cumulocity-devicemanagement-agent

Cumulocity Reference Agent written in Python to demonstrate most of the Device Management Capabilities of Cumulocity IoT
Apache License 2.0
26 stars 20 forks source link

Add vnc environment installation option to docker container #38

Closed pandora2000 closed 3 years ago

pandora2000 commented 3 years ago

I added VNC and desktop environment installation option to docker build so that you can immediately use VNC remote access after launch of docker container with password test456# and port 5901.

If you want to use this option, you should build image with --build-arg INSTALL_VNC=1. For example,

docker build -t dm-image -f docker/Dockerfile --build-arg INSTALL_VNC=1 .

I tested with --build-arg INSTALL_VNC=1 and without the option locally.

pandora2000 commented 3 years ago

I changed start.sh to accept build arg. I also wrote README.md.