'trouble opening Chrome window via remDr$open() after establishing docker container of selenium chrome browser

I was hoping I'd be able to open a Chrome browser via the below, but I'm not quite getting it. Any idea what's wrong? I'm following a tutorial. It seems like all the individual steps are working, but no Chrome browser is popping up.

Code:

#two lines below into Terminal
docker run -d -p 4445:4444 selenium/standalone-chrome
docker ps
#rest is in RConsole
library(RSelenium)
remDr <- RSelenium::remoteDriver(remoteServerAddr = "localhost",
                                 port = 4445L,
                                 browserName = "chrome")

remDr$open()

I get several lines of output but no browser window



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source