Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker add route to network

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
 
PREVIOUS NEXT
Tagged: #docker #add #route #network
ADD COMMENT
Topic
Name
3+6 =