I have a very simple docker container that installs ‘google-chrome-stable’ by following these instructions.
Inside the container, I can’t start and access the debug server:
# start chrome in debug mode $ google-chrome-stable --no-sandbox --remote-debugging-port=9222 # verify that I can reach the debugging server $ curl 127.0.0.1:7222 curl: (7) Failed to connect to localhost port 7222: Connection refused
Outside the container (OSX 10.12.6), the same process works fine:
# start chrome in debug mode $ chrome --no-sandbox --remote-debugging-port=9222 # verify that I can reach the debugging server $ curl localhost:9222 curl localhost:9222
There must be something I’m missing because it seems like these are identical workflows even though the environments are different.
Can someone illuminate what’s going on here?