docker 新增 manvlan

synology 先打開 ssh 並登入
輸入
sudo docker network create -d macvlan –subnet=192.168.1.0/24 –gateway=192.168.1.1 –ip-range=192.168.1.200/32 -o parent=eth0 example_network

再去 docker 畫面 網路 把 continer 加入example_network

本篇發表於 docker, synology。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>