I'd like to run a containerized GUI application from a remote machine. I don't want to solve this problem by adding an ssh host to the container because • I already have access to the host machine over SSH • It adds unnecessary overhead • It makes the container non-portable between remote and local use I can already successfully run GUI apps on the host, but not from within the container. Copy.Xauthority in container at the beginning of ssh session before using GUI: sudo docker exec -i container_name bash -c 'cat > ~/.Xauthority'.
Playstation 1 games for mac. You can't ssh -X from another terminal into the same machine and go back and use the.Xauthority, ssh -X changes the.Xauthority every time for the most recent terminal. I've only got it to work by copying the.Xauthority every time I ssh -X into my machine and try and share the screen with my container. Docker for Mac makes whatever is running on port 80 in the container (in this case, nginx) available on port 80 of localhost. In this example, the host and container ports are the same. In this example, the host and container ports are the same.