Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Docker Compose file & added X11 authentication compliance #1

Merged
merged 4 commits into from
Apr 6, 2017

Conversation

lbssousa
Copy link

@lbssousa lbssousa commented Apr 6, 2017

We include a Docker Compose file to make it easier to build and run the container. Execute docker-compose build to build the container and docker-compose run wscef to run it.

We also include X11 authentication compatibility in startup script. With these changes, one can surely start Firefox from the container if host system requires X11 authentication (if it doesn't, just drop variables XAUTHORITY and/or HOST_HOSTNAME from environment section of Docker Compose file.

We ensure startup script will work whether the container is running in host mode or not. In order to enable host mode in the container, just add network_mode: 'host' to wscef section of Docker Compose file (equivalent to --net=host option of docker command).

@farribeiro farribeiro merged commit 351e116 into farribeiro:master Apr 6, 2017
leonardofl added a commit to leonardofl/wscef-docker that referenced this pull request Jun 26, 2017
I still dit not understand "in the same session will run ok, and not
erase it." In the issue you explained about xauth, but not about your
statement. It's strange to say "the container will run OK if you do not
erase it", since if you "erase" the container, of course it will no be
running OK (it will be erased). Sorry to be boring about that, but this
container you created is amazing, and if it's used by people do not
understand Docker (like me) the Readme can be really confusing. Anyway,
considering the text in farribeiro#1, maybe my PR is OK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants