Score:0

Isolating my docker container from the rest of my local network (route add reject not working)

jp flag

I'm just simply trying to add a route to reject any traffic to other systems on my local network from my docker container, but seems like my route add command isn't working and I'm not quite sure why.

The command I'm used to running is route add -net x.x.x.x/CIDR reject

enter image description here

I know I'm missing something very minor here in regards to the command, but cannot figure out what it is.

Score:0
in flag

Create an internal network for it.

docker network  create --internal isolation
docker run --network isolation $image
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.