Simulate sample not running on Docker container

Discussion in 'Visualization' started by Giusebar, May 22, 2018.

  1. Hi,

    I'm trying to run the the mujoco simulate sample on a Docker container with the following command: LD_LIBRARY_PATH=. ./simulate ../model/humanoid.xml.
    I can run it smoothly on the host but I get the following error on the container:

    MuJoCo Pro library version 1.50
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast
    libEGL warning: DRI2: failed to authenticate
    I'm running nvidia-docker container (v 1.0.1) with ubuntu 16.04 installed on it.
    The acceleration in the container seem to work correctly since I can correctly run the troubleshooting tool glxgears.

    Any idea why this could be happening?

  2. In case anyone gets the same problem, I solved it by running the following command in the Docker:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/nvidia/lib64
    Kyokushin likes this.