As above, but I did have to do an extra step of allowing the container access to the server (I think that's the right way to say it?). I am using arch linux and I had to do this step of running xhost +local:docker.
xhost +local:docker