This image enables new users to get started with a published ONNX package from PyPi 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 base docker image. There are two ways to do this:
-
Pull the pre-built Docker image from DockerHub
docker pull onnx/onnx-base
-
Clone the source repository. Navigate to the onnx-docker/onnx-base folder and build the image locally with the following command.
docker build . -t onnx/onnx-base
- Run the Docker container to launch the ONNX base image.
docker run -it onnx/onnx-base
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.