Notes for image jobs

Updated at:

1. A process launched by an image task execution should normally return 0

  • Create your image according to Docker standards and specify your CMD command in the Dockerfile. Ensure that the Docker image can be run directly using the docker run command. An exit code of 0 indicates that the job ran successfully. Any other non-zero exit code indicates that the job failed.

2. Get parameters

  • Environment variables are set through the page configuration.

  • If input and output parameters are configured in Data Development, you can retrieve them from the ZERG_APP_PARAM environment variable.

3. Image job logs

  • When an image job runs, output all logs to stdout or stderr. You can view these logs on the operational logs page to troubleshoot issues. You should also control the volume of the logs.