tinyLog
為一拓荒者
星期一, 8月 20, 2018
Change port expose after run
已 run 起來的 docker container 若要增加曝露對外的網路埠,除了 stop / commit / start 之外,也有更漂亮的方式:
docker stop ...
systemctl stop docker
vi /var/lib/docker/containers/.../hostconfig.json
systemctl start docker
docker start ...
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言