docker run --rm lasery/retropie
Retropie default built doesn't use x server, it needs to run in non-desktop environment:
docker run -it --rm --name=retropie \
--privileged \
-e PULSE_SERVER=unix:/run/user/1000/pulse/native -v /run/user/1000:/run/user/1000 \
--group-add video \
-v /opt/vc:/opt/vc \
-v /var/run/dbus/:/var/run/dbus/ \
-v /dev/snd:/dev/snd \
-v /dev/input:/dev/input \
-v /dev/vchiq:/dev/vchiq \
-v /dev/vcio:/dev/vcio \
-v /dev/fb0:/dev/fb0 \
-v /dev/vcsm:/dev/vcsm \
lasery/retropie \
run
bash
docker run -it --rm --name=retropie \
--privileged \
-e DISPLAY=unix:0 -v /tmp/.X11-unix:/tmp/.X11-unix \
-e PULSE_SERVER=unix:/run/user/1000/pulse/native -v /run/user/1000:/run/user/1000 \
-v /dev/input:/dev/input \
lasery/retropie \
run
bash
-v retropie_roms:/home/pi/RetroPie/roms \
-v ~/.config/retropie/emulationstation/:/home/pi/.emulationstation/ \
-v ~/.config/retropie/autoconfig/:/opt/retropie/configs/all/retroarch/autoconfig/ \
-v ~/.config/retropie/retroarch.cfg:/opt/retropie/configs/all/retroarch.cfg \
Content type
Image
Digest
Size
509.1 MB
Last updated
about 5 years ago
docker pull lasery/retropie