Skip to main content

Container metaframe: local mode

All containers are run locally, no server API is used.

Run the worker agent in local mode

Prerequisites:

Then run this terminal command to start the metaframe container worker agent in local mode:

docker run --rm -p 8000:8000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /tmp:/tmp metapage/metaframe-docker-worker:0.54.2 \
run \
--data-directory /tmp/worker-metapage-io-local \
--cpus=2 \
--mode=local

What is happening?

Your computer will be used to run containers from metapage workflows.

The worker agent connects to the docker daemon and the container browser client via http://localhost:8000 and runs docker container jobs sent by the browser client.

Running metapage workflows in perpetuity

Even if the metapage organization is no longer active, because the agent is open-source and will always be available, and because metapages are workflows that run in the browser, your workflows will always be able to run.

The only thing needed to run workflows is a browser, and something to run containers (this agent) running on the same computer as your browser.

In other words: you own your data, code, and the compute environment.

Related topics