The Smart Devices (aka OCF servers)
Docker container startup script
start-ocf-servers-in-docker.sh script is used when building a Docker container that runs Smart Devices (sensors) as OCF servers. These IoT Smart Devices are simulated devices implemented by the scripts in the
ocf-servers/js-servers/ folder. All scripts accept the
--simulation) argument that forces them to start in simulation mode, this is what we use when running in a Docker container.
For more details, please take a look at the Dockerfile.