gistfile1.txt
· 461 B · Text
原始文件
version: "3.6"
services:
iperf3:
command:
- "networkstatic/iperf3"
- "-s"
container_name: "iperf3"
entrypoint:
- "iperf3"
environment:
- "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
hostname: "iperf3"
image: "networkstatic/iperf3:latest"
ipc: "private"
logging:
driver: "db"
options: {}
network_mode: "host"
restart: "always"
stdin_open: true
tty: true
1 | version: "3.6" |
2 | services: |
3 | iperf3: |
4 | command: |
5 | - "networkstatic/iperf3" |
6 | - "-s" |
7 | container_name: "iperf3" |
8 | entrypoint: |
9 | - "iperf3" |
10 | environment: |
11 | - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
12 | hostname: "iperf3" |
13 | image: "networkstatic/iperf3:latest" |
14 | ipc: "private" |
15 | logging: |
16 | driver: "db" |
17 | options: {} |
18 | network_mode: "host" |
19 | restart: "always" |
20 | stdin_open: true |
21 | tty: true |