mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-24 21:14:37 +00:00
790 B
790 B
title |
---|
Building Task Execution Environments in a Container |
Base Container
Build a container according to the execution environment of a specific task.
clearml-agent build --id <task-id> --docker --target <new-docker-name>
You can add the container as the base container image to a task, using one of the following methods:
- Using the ClearML Web UI - See Default Container.
- In the ClearML configuration file - Use the ClearML configuration file
agent.default_docker
options.
Check out this tutorial for building a Docker container replicating the execution environment of an existing task.