Sample Docker container for JARVICE w/ XRT
Existing containers available at: https://hub.docker.com/r/nimbix/ubuntu-xrt/tags
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on JARVICE.
bash
docker
JARVICE account
Install Docker:
- Ubuntu: https://docs.docker.com/install/linux/docker-ce/ubuntu/
- Debian: https://docs.docker.com/install/linux/docker-ce/debian/
- CentOS: https://docs.docker.com/install/linux/docker-ce/centos/
- Windows: https://docs.docker.com/docker-for-windows/install/
- MacOS: https://docs.docker.com/docker-for-mac/install/
Sign up for JARVICE: https://www.nimbix.net/contact-us/
This project builds a sample Docker container to use the Xilinx FPGA accelerators available on JARVICE. Create config.sh
to describe the desired XRT environment.
JARVICE machine type for container. Refer to:
Xilinx shell for FPGA
Base Docker image for application. (e.g ubuntu:xenial)
image-common branch to include for JARVICE. See the GitHub repo for additional information
O/S distribution for XRT (e.g. 16.04)
XRT build date
XRT major revision
XRT minor revision
XRT patch level
Docker repository to push container (e.g. nimbix/ubuntu-xrt)
Create config.sh
from template
cp config.sh.template config.sh
Run build.sh
in terminal
./build.sh
Push to DockerHub
docker login
docker push <DockerHub-account>/<my-repo>:<my-tag>
Create a JARVICE application using this container following the PushToCompute flow.
The XRT tags are used for versioning: XRT_REPO_DATE.XRT_REPO_MAJOR.XRT_REPO_MINOR.XRT_REPO_PATCH_XRT_REPO_DISTVER
For the versions available, see the tags on this repository.
- Kenneth Hill - Initial work
Refer to LICENSE.md for more details.