farribeiro / wscef-docker

Warsaw in docker container
MIT License
64 stars 23 forks source link

various errors while following instructions from readme #28

Closed ninrod closed 7 years ago

ninrod commented 7 years ago

I'm on arch linux. After issuing docker-compose pull and docker-compose run --name wscef wscef, I got this error:

wscef-docker $ docker-compose run --name wscef wscef
WARNING: The HOSTNAME variable is not set. Defaulting to a blank string.
Creating network "wscefdocker_default" with the default driver
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: Arquivo ou diretório não encontrado
Unable to init server: Could not connect: Conexão recusada
Error: cannot open display: :0
/home/ff/startup.sh: linha 26: /usr/local/bin/warsaw/core: Arquivo ou diretório não encontrado
wscef-docker $

what can I do now?

farribeiro commented 7 years ago

If using Fedora and variants disable SELinux but is possble using feature... adding a Z arguments on mount points of docker, explained in this Issue https://github.com/farribeiro/wscef-docker/issues/9#issuecomment-320833518

ninrod commented 7 years ago

@farribeiro, are you talking about this snippet?

- <src>:<dest>:Z or - <src>:<dest>:ro,Z

What is this exactly doing?

ps: I see that you prefer english. I'll edit my post accordingly.

farribeiro commented 7 years ago

Take a look on the docker-compose.yml

ninrod commented 7 years ago

Yes I've looked into it. I still don't know what the Z parameter does.

farribeiro commented 7 years ago

https://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/

ninrod commented 7 years ago

thanks.