diff --git a/tools/dockerfile/Dockerfile.ipu b/tools/dockerfile/Dockerfile.ipu index 68bd841c375098e4f1e826cf8e36685cbf3b3c7c..715bd34b908bebacb24d13543322e1d9b27b357d 100644 --- a/tools/dockerfile/Dockerfile.ipu +++ b/tools/dockerfile/Dockerfile.ipu @@ -1,11 +1,12 @@ # A image for building paddle binaries -# docker build -f Dockerfile.ipu -t paddlepaddle/paddle:latest-ipu-dev . -# /usr/bin/docker run --ulimit memlock=-1:-1 --net=host --cap-add=IPC_LOCK \ -# --device=/dev/infiniband/ --ipc=host --name paddle-with-dev -v $PWD:/paddle \ -# -it paddlepaddle/paddle:latest-ipu-dev /bin/bash +# build docker image +# docker build -t paddlepaddle/paddle:ipu-dev-2.3.0 -f tools/dockerfile/Dockerfile.ipu . -FROM graphcore/poplar:latest +# run a container +# docker run --ulimit memlock=-1:-1 --net=host --cap-add=IPC_LOCK --device=/dev/infiniband/ --ipc=host --rm -it paddlepaddle/paddle:ipu-dev-2.3.0 bash + +FROM graphcore/poplar:2.3.0 MAINTAINER PaddlePaddle Authors # ENV variables