The command
section defines one or more commands that are run during execution.
You can use any bash commands that are supported by your Docker image.
- step:
name: hardware-check
image: tensorflow/tensorflow:0.12.1-devel-gpu
command: nvidia-smi
- step:
name: environment-check
image: python:3.6
command:
- printenv
- python --version
For example, the following configuration file defines two steps:
-
hardware-check: executes
nvidia-smi
to check the status of server GPU usingtensorflow/tensorflow:0.12.1-devel-gpu
Docker image. -
environment-check: executes
printenv
followed bypython --version
to check how the runtime environment looks like insidepython:3.6
Docker image.
Comments
0 comments
Please sign in to leave a comment.