Skip to content

Dockerfile for mujoco200 environment. Visualization via X server.

Notifications You must be signed in to change notification settings

KJaebye/mujoco-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mujoco-docker

Dockerfile for mujoco200 environment. Visualization via X server.

image

This is a MuJoCo200 environment with mujoco-py==2.0.2.8. The simulator GUI can be visualised via X11 forwarding.

Usage

Build Docker Image / or Pull from DockerHub

docker build -t "your image tag" .

or pull image from dockerhub

docker pull kjaebye/mujoco200:stable

Run Containner

docker run -it --name mujoco -v docker_ws:/root/docker_ws --gpus=all -v /tmp/.x11-unix:/tmp/.x11-unix -e GDK_SCALE -e GDK_DPI_SCALE -p 5022:22 ef6872bb9f6f /bin/bash

SSH Connect

Restart the containner

docker restart mujoco

ssh to container

The host should have access to the container

xhost +
ssh root@0.0.0.0 -p 5022

The default passwd of container is 123123.

Container runs as Xclient, and the hostPC runs as Xserver. SSH config has been already set in container. However, you must set Xserver.

Run MuJoCo

cd /root/.mujoco/mujoco200/bin/
./simulate ../model/humanoid.xml

About

Dockerfile for mujoco200 environment. Visualization via X server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published