Using docker to host chrome requires that docker can talk to x. I found the solution on stackoverflow

All I have to do is run xhost +