mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-06-09 21:56:10 +02:00
Fixed /data folder mount to :rw from :ro
This commit is contained in:
parent
f78328058d
commit
ab88e2a296
|
@ -11,7 +11,7 @@ jobs:
|
|||
steps:
|
||||
- run:
|
||||
name: Docker with priviledged mode to run chroot inside and we use tail -f to keep container running
|
||||
command: sudo docker run -d -v /sys/fs/cgroup/:/sys/fs/cgroup:ro -v /data:/data:ro --privileged --cap-add SYS_ADMIN --name linux_priviledged_container debian:bullseye tail -f /dev/null
|
||||
command: sudo docker run -d -v /sys/fs/cgroup/:/sys/fs/cgroup:ro -v /data:/data:rw --privileged --cap-add SYS_ADMIN --name linux_priviledged_container debian:bullseye tail -f /dev/null
|
||||
- run: sudo docker exec -it linux_priviledged_container apt-get update; true
|
||||
- run: sudo docker exec -it linux_priviledged_container apt install -y dpkg-dev git pbuilder
|
||||
- run: sudo docker exec -it linux_priviledged_container git clone https://github.com/pavel-odintsov/fastnetmon
|
||||
|
|
Loading…
Reference in New Issue