The docker image, which is already build and ready to use ns-3.32 with openflow, is in docker hub(https://hub.docker.com/repository/docker/masato338/ns-3-docker)
So, you can run ns-3.32 with the command below.
# pull image and login to container
docker run -it masato338/ns-3-docker bash
# run openflow switch simulation
cd ns-allinone-3.32/ns-3.32/ && ./waf --run openflow-switch
docker-compose up -d --build
./install-ns3.sh