From c7b27ca61dba78bd25cc5239f10050f1a45a2bc6 Mon Sep 17 00:00:00 2001 From: Komal Thareja Date: Wed, 18 Sep 2024 10:55:11 -0400 Subject: [PATCH] create a volume mount for user work directory --- .../playbooks/roles/head_switch_provisioning/docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/fabric_am/playbooks/roles/head_switch_provisioning/docker-compose.yml b/fabric_am/playbooks/roles/head_switch_provisioning/docker-compose.yml index 7fe373f..323b0ba 100644 --- a/fabric_am/playbooks/roles/head_switch_provisioning/docker-compose.yml +++ b/fabric_am/playbooks/roles/head_switch_provisioning/docker-compose.yml @@ -5,6 +5,7 @@ services: volumes: - /usr/src:/usr/src - /lib/modules:/lib/modules + - /root/work:/root/work # Users can put the work in this directory which would be accessible from host as well as container. devices: - /dev/bf0:/dev/bf0 privileged: true # Required to allow the container to access kernel-related files