mloq.commands.docker
Contents
mloq.commands.docker
#
Mloq docker command implementation.
Module Contents#
Classes#
Implement the functionality of the docker Command. |
Attributes#
- mloq.commands.docker.DOCKER_ASSETS_PATH#
- mloq.commands.docker.dockerfile#
- mloq.commands.docker.makefile_docker#
- mloq.commands.docker.DOCKER_FILES#
- class mloq.commands.docker.DockerCMD(record, interactive=False, **kwargs)[source]#
Bases:
mloq.command.Command
Implement the functionality of the docker Command.
- Parameters
record (mloq.writer.CMDRecord) –
interactive (bool) –
- cmd_name = docker#
- files#
- disable#
- cuda#
- cuda_image_type#
- cuda_version#
- ubuntu_version#
- project_name#
- docker_org#
- python_version#
- base_image#
- test#
- lint#
- jupyter#
- jupyter_password#
- requirements#
- extra#
- makefile#
- static require_cuda_from_requirements(project_config=None)[source]#
Return True if any of the project dependencies require CUDA.
- Parameters
project_config (Optional[omegaconf.DictConfig]) –
- Return type
bool
- parse_config()[source]#
Update the configuration dictionary from the data entered by the user.
- Return type
omegaconf.DictConfig