Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Latest commit

 

History

History

docker

Build Runtime Docker Image for Kubernetes

For the distributed training job on Kubernetes, we package Paddle binary files and some tools for Kubernetes into a runtime Docker image, the runtime Docker image gets scheduled by Kubernetes to run during training.

You can build CPU and GPU Docker image which based on different PaddlePaddle product Docker image:

./build_docker.sh <base-docker_image> <runtime-docker-image>
  • Build CPU runtime Docker image
./build_docker.sh paddlepaddle/paddle:0.11.0 paddlepaddle/paddlecloud-job:0.11.0
  • Build GPU runtime Docker image
./build_docker.sh paddlepaddle/paddle:0.11.0-gpu paddlepaddle/paddlecloud-job:0.11.0-gpu