0

I am new to docker. Inside of the docker, I opened mininet CLI and ran xterm h1, but got the error message Error: Cannot connect to display (msg picture) Is there anyone know how to fix this problem?

p.s. I found a page to solving this problem (link), but could not understand what is the "docker host" and where should I run xhost +si:localuser:root.

TingYu
  • 3
  • 2
  • The `docker` host is the host on which the `docker` daemon process is running, that is where you should run `xhost +si:localuser:root` before `docker run`ning the container. – masseyb Oct 02 '20 at 11:21
  • You need to jump through some (Linux-specific) hoops to get this to work; it's not a great match for Docker. The linked question goes through the options and incantations. – David Maze Oct 02 '20 at 12:30

0 Answers0