From 601dec1ffc7643661d1c91643b79217d1b89074c Mon Sep 17 00:00:00 2001 From: 30hours Date: Tue, 20 Feb 2024 13:58:47 +0000 Subject: [PATCH] Fix Docker > 25.0.0 as per #6 (add rw on mount) --- README.md | 1 - docker-compose.yml | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0f417e7..4756bda 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,6 @@ Join the [Discord](https://discord.gg/ewNQbeK5Zn) chat for sharing results and s Pull requests are welcome - especially for adding support for a new SDR. - Currently have an issue where the USRP B210 is timing out after 5-10 mins and crashes the code. Convinced it's an issue with my usage of the API - contact me for more info. -- A bug exists for Docker versions >= 25.0.0 using the RspDuo due to a shared memory issue, please downgrade for the time being. ## License diff --git a/docker-compose.yml b/docker-compose.yml index 594efc0..08300b4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,17 +8,15 @@ services: blah2: restart: always - build: - context: . - dockerfile: Dockerfile + build: . image: blah2 depends_on: - blah2_api volumes: - ./config:/blah2/config - /opt/blah2/save:/blah2/save - - /dev/shm:/dev/shm:z - - /dev/usb:/dev/usb + - /dev/shm:/dev/shm:rw + - /dev/usb:/dev/usb:rw network_mode: host privileged: true command: >