Placing network restrictions with docker

Is it possible using a docker instance to place restrictions on a network. i.e. certain websites being restricted when using a sandbox browser?