I tried docker-latest (1.12.1) with the current CentOS atomic release (7.20161104) and wanted to test the macvlan network driver ( https://docs.docker.com/engine/usergu... ).
I can create the network and connect containers to it:
docker network create -d macvlan --subnet="22.214.171.124/24" --gateway="192.168.1.1" -o parent=eth0 test docker run --net=test --ip="192.168.1.10" -it --rm alpine /bin/sh
Containers in this network can communicate with each other, but from the container I can not reach the external gateway and also from an external host in 192.168.1.0/24 I can not reach the container.
On other distributions I got macvlan network to work. I don't see what the problem in atomic is. The macvlan kernel module is loaded, the Linux kernel is greater than v3.9.Docker is v1.12.0+. setenforce 0 does not change anything.