This tool enables developers to quickly get started with an ONNX build from source in a lightweight Linux-based image without worrying about dependencies.
-
Ensure that you have Docker installed, or are using Docker for Linux containers if on Windows.
-
Obtain the ONNX developer docker image. There are two ways to do this:
-
Pull the pre-built Docker image from DockerHub
docker pull onnx/onnx-dev
-
Clone the source repository. Navigate to the onnx-docker/onnx-dev folder and build the image locally with the following command.
docker build . -t onnx/onnx-dev
- Run the Docker container to launch the ONNX developer image.
docker run -it onnx/onnx-dev
This project welcomes contributions and suggestions. For details, please read through the contributor's guide and the ONNX Open Source Code of Conduct.
The source dockerfile is being maintained in the onnx/onnx-docker repository.