7
#docker 批量绑定和导出端口
source link: https://xmanyou.com/docker-export-port-in-range/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
16 April 2021
/ docker
#docker 批量绑定和导出端口
docker-compose.yml的参数是:
ports:
- "3000"
- "3000-3005"
- "8000:8000"
- "9090-9091:8080-8081"
- "49100:22"
- "127.0.0.1:8001:8001"
- "127.0.0.1:5000-5010:5000-5010"
- "127.0.0.1::5000
- "6060:6060/udp"
- "12400-12500:1240"
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK