Closed biocyberman closed 5 years ago
There are two related options:
-t, --tty
just does not start an X server. (x11docker/mate fails because CMD ["mate-session"]
does not find one).
-i, --interactive
opens an interactive tty.
This one works:
x11docker --tty --interactive -- x11docker/mate bash
Or short:
x11docker -ti x11docker/mate bash
Note that you need a shell like bash
or sh
as image command to make use of the interactive tty.
You can also run without --tty
to provide an X server and to have an interactive tty at the same time:
x11docker --desktop --interactive -- x11docker/mate bash
Yes I missed the -i
option. It works now!
Thanks
I thought it is an easy switch of parameter, but it didn't work. Is it currently possible at all?
The GUI command work:
x11docker --desktop --nxagent -- x11docker/mate