Could you check the log from your docker container to see which version was selected to be installed?
Do you also have CUDA8 using python instead of ipython?
Could it be multiple PyTorch versions were installed?