Skip to content

Commit

Permalink
Enable cdi feature for Docker
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Lezar <[email protected]>
  • Loading branch information
elezar committed Jul 16, 2024
1 parent 1918ccc commit ffecb94
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: true
check-latest: true
- name: Enable CDI in the Docker daemon.
run: |
sudo mkdir -p /etc/docker
echo '{ "features": {"cdi": true} }' | sudo tee /etc/docker/daemon.json
sudo systemctl restart docker
- name: "Print docker info"
run: |
set -eux -o pipefail
Expand Down

0 comments on commit ffecb94

Please sign in to comment.