Cannot create window when executing simulate binary in linux:22.04 container in m1 macbook pro #1999
Unanswered
jeeseop
asked this question in
Asking for Help
Replies: 2 comments
-
I get the same error message when running |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, have you solved this problem? I seem to be having a similar issue, on ubuntu24.04 in Vmare |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to ask for help
First, read our quick guide to
asking good questions.
Below is a template for you to use:
Hi,
I'm a researcher and I'm trying to use MuJoCo for the research.
I'm looking for some help with docker setup in M1 Macbook pro.
Here is a model which explains my question:
Here is the docker-compose.yml file that I am currently using.
name: ubuntu
services:
for_mujoco:
image: ubuntu:22.04
#platform: linux/amd64
command: /bin/bash
volumes:
- /dev:/dev
environment:
- DISPLAY=host.docker.internal:0
privileged: true
ipc: host
shm_size: 256m
network_mode: host
stdin_open: true
tty: true
I can run xeyes or xclock when using this container with XQuartz in m1 macbook pro.
However, I cannot create a window when executing mujoco's 'simulate' binary in this container in m1 macbook pro.
Here I installed:
This is the full message that I've got when executing 'simulate' binary:
root@docker-desktop:/mujoco-3.1.4/build/bin# ./simulate
MuJoCo version 3.1.4
ERROR: could not create window
Press Enter to exit ...
Beta Was this translation helpful? Give feedback.
All reactions