Skip to content

dok3r/diamond

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

diamond

Dockerized diamond

Examples

Run docker:

docker run -it dok3r/diamond

Usage

Simple example (if your license is in /host/fpga dir):

docker run -it -v /host/fpga:/fpga -e LM_LICENSE_FILE=/fpga/license.dat dok3r/diamond

Command line usage:

export ETHMAC=your-mac-from-license
docker run -it -e LM_LICENSE_FILE=/fpga/license.dat --mac-address=$ETHMAC --privileged --ipc host -v /host/fpga:/fpga  -v /dev/bus/usb/:/dev/bus/usb/ dok3r/diamond:latest

Command line usage of different version:

export ETHMAC=your-mac-from-license
docker run -it -e LM_LICENSE_FILE=/fpga/license.dat --mac-address=$ETHMAC --privileged --ipc host -v /host/fpga:/fpga  -v /dev/bus/usb/:/dev/bus/usb/ dok3r/diamond:v3.7

Support for GUI:

export ETHMAC=your-mac-from-license
export XSOCK=/tmp/.X11-unix
export XAUTH=/tmp/.docker.xauth
xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
docker run -it -v $XSOCK:$XSOCK -v $XAUTH:$XAUTH -e XAUTHORITY=$XAUTH -e LM_LICENSE_FILE=/fpga/license.dat --mac-address=$ETHMAC --privileged --ipc host -v /host/fpga:/fpga  -v /dev/bus/usb/:/dev/bus/usb/ dok3r/diamond:latest

Releases

No releases published

Packages

No packages published