[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Fw: Xvfb | Docker Universe | Can't open display | (but works with docker run)



On 2021-10-29 12:07 PM, JEAN-YVES SGRO via HTCondor-users wrote:

Problem1: Docker Universeâ does not provide the same environment as docker runâ within the container.
Problem2: Xvfb works fine within a docker runâ container but does not work when running as a Docker Universeâ job.
Question: is there a way to make Xvbfâ work on HTcondor?

How does it "work fine" outside of condor?

Access to host XVfb is via a socket in /tmp/.X11-unix, are you mounting it with `-v` for the non-condor runs? Or are you firing up Xvfb inside the container?

For the former, my guess is you should be able to mount the socket as per https://htcondor.readthedocs.io/en/latest/admin-manual/setting-up-vm-docker-universes.html#the-docker-universe

Dima