Docker Daemon
Run mlabd and its workers in the Market Lab container.
Select the Docker backend:
mlab daemon backend docker
mlab daemon statusThe host CLI connects to mlabd inside the container:
host mlab -> Docker mlabd -> workersThe connection uses 127.0.0.1:47831 and a random token stored at ~/.market-lab/daemon.token. The port is bound to host loopback only.
The official container uses a read-only root filesystem, drops Linux capabilities, enables no-new-privileges, runs with the host user ID, and does not mount the Docker socket.
Choose another compatible image when required:
mlab daemon backend docker --image my-marketlab-daemon:v0.1.2The container uses the same ~/.market-lab/ state as Native. Replacing it does not remove credentials, snapshots, artifacts, jobs, or logs.
For Python environments, see Python V2 with Docker.