Service scale is the number of container instances running for a Compose service. A stateless API service can run in multiple containers, allowing requests from a web container to reach any running instance. section 7.2
Scale the image API
Run `docker compose up -d --scale iotd=3`, refresh `http://localhost:8010`, and inspect `docker compose logs --tail=1 iotd`. Compose creates two additional containers, giving the iotd service a scale of three; requests may be handled by different containers. section 7.2
docker compose up -d --scale iotd=3 # browse to http:/./localhost:8010 and refresh docker compose logs --tail=1 iotd
Use the runnable command sequence to increase service scale, exercise the application, and inspect per-container logs. section 7.2
