build:
context: "base/"
dockerfile: "Dockerfile"
+ cap_add:
+ - NET_RAW
command: ["/usr/sbin/sshd","-D", "-p", "6001"]
expose:
- "6001"
- type: "bind"
source: "/opt/boot/"
target: "/opt/boot/"
- - type: "bind"
- source: "/var/run/docker.sock"
- target: "/var/run/docker.sock"
- type: "bind"
source: "/usr/bin/iperf3"
target: "/usr/bin/iperf3"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ - type: "bind"
+ source: "/var/run/docker.sock"
+ target: "/var/run/docker.sock"
- type: "bind"
source: "/usr/lib/firmware/"
target: "/usr/lib/firmware/"
build:
context: "base/"
dockerfile: "Dockerfile"
+ cap_add:
+ - NET_RAW
command: ["/usr/sbin/sshd","-D", "-p", "6002"]
expose:
- "6002"
- type: "bind"
source: "/opt/boot/"
target: "/opt/boot/"
- - type: "bind"
- source: "/var/run/docker.sock"
- target: "/var/run/docker.sock"
- type: "bind"
source: "/usr/bin/iperf3"
target: "/usr/bin/iperf3"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0"
+ - type: "bind"
+ source: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ target: "/usr/lib/x86_64-linux-gnu/libiperf.so.0.0.0"
+ - type: "bind"
+ source: "/var/run/docker.sock"
+ target: "/var/run/docker.sock"
- type: "bind"
source: "/usr/lib/firmware/"
target: "/usr/lib/firmware/"
\ No newline at end of file