Project URL: https://github.com/jumanjihouse/docker-infiniband
Docker hub: https://registry.hub.docker.com/u/jumanjiman/infiniband/
This is intended to be a base image for other infiniband-related images, such as https://github.com/jumanjihouse/docker-opensm
The repo is set up to build the image on CircleCI.
An unattended test harness runs simple test scripts. If all tests pass on master branch in the unattended test harness, it pushes the built images to the Docker hub.
--build-arg
.
On a host with Docker:
ci/build
These images are built as part of the test harness on CircleCI. If all tests pass on master branch, then the image is pushed into the docker hub.
docker pull jumanjiman/infiniband:latest
Tags:
-
Optimistic
jumanjiman/infiniband:7
jumanjiman/infiniband:latest
(same asjumanjiman/infiniband:7
)
-
Pessimistic
jumanjiman/infiniband:7-${build_date_time}-${git_hash}
We push the tags automatically from the test harness, and we occasionally delete old tags from the Docker hub by hand.
On a host with Docker:
docker run -d \
--name infiniband.service
--read-only \
--memory=10G \
--privileged \
--net=host \
-v /lib/modules:/lib/modules:ro \
jumanjiman/infiniband \
bash
The image contains useful infiniband diagnostic utilities from these packages:
- ibutils
- infiniband-diags
- qperf
You can run the tools in two ways:
-
Enter a running infiniband container via
docker exec -it <cid> bash
and call the utils directly. -
Start a fresh container with something like:
docker run --rm -it --net=host --privileged --entrypoint bash jumanjiman/infiniband
Sample output from ibnetdiscover
(one of the utils) is shown at
test/ibnetdiscover.out
.
Run the test harness:
ci/test
The test harness requires:
- BATS
- Python and the
pip
command
See LICENSE.