/onnx-docker

Dockerfiles and scripts for ONNX container images

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

What is this repository for?

To store the docker BUILD scripts of ONNX related docker images.

Docker Image Workflow

  1. Obtain the Docker images

You can clone this repository and build your desired image.

# onnx-base container
cd onnx-base
docker build . -t onnx-base

# onnx-developer container
cd onnx-dev
docker build . -t onnx-dev

# onnx-ecosystem container
cd onnx-ecosystem
docker build . -t onnx-ecosystem

# onnxruntime-gpu1.6-python container
cd onnxruntime-gpu1.6-python
docker build . -t onnxruntime-gpu1.6-python

Alternatively, you can pull a pre-built image from DockerHub.

docker pull onnx/onnx-base
docker pull onnx/onnx-dev
docker pull onnx/onnx-ecosystem
  1. Run the images
docker images

docker run -it onnx-base
docker run -it onnx-dev
docker run -p 8888:8888 onnx-ecosystem
docker run --gpus all -it --ipc=host onnxruntime-gpu1.6-python