📜  docker 添加路由到网络 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:13.483000             🧑  作者: Mango

代码示例1
docker run \
  --cap-add NET_ADMIN \ # to allow changing net settings inside the container 
  --name container1 \
  --restart always \ # restart policy
  your_image \
  /path/to/your_start_script.sh