Skip to content

Commit

Permalink
update the compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
kthare10 committed Sep 13, 2024
1 parent 3c1d1e2 commit 9e847c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
services:
p4-container:
p4_container:
image: kthare10/tofino-sde:latest
container_name: p4_container
volumes:
- /usr/src:/usr/src
- /lib/modules:/lib/modules
devices:
- /dev/bf0:/dev/bf0
command: ["sleep", "infinity"] # Keeps the container running in the background
privileged: true # Required to allow the container to access kernel-related files
network_mode: host
restart: always

0 comments on commit 9e847c7

Please sign in to comment.