Created
September 8, 2017 22:29
-
-
Save Mutjake/025a353f5489f6a4de53280e0880d8b1 to your computer and use it in GitHub Desktop.
Running fceux via Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutjake@linux-hmf7:~/fceux-docker> cat Dockerfile | |
FROM ubuntu | |
RUN apt-get dist-upgrade -y | |
RUN apt-get update -y | |
RUN apt-get upgrade -y | |
RUN apt-get install -y fceux | |
RUN apt-get install -y wget unzip | |
RUN wget http://mirror1.freeroms.com/nes_roms/04/mpout.zip | |
RUN unzip mpout.zip | |
CMD nes | |
mutjake@linux-hmf7:~/fceux-docker> sudo docker build . -t ubuntu-fceux | |
Sending build context to Docker daemon 400.4kB | |
Step 1/9 : FROM ubuntu | |
---> ccc7a11d65b1 | |
Step 2/9 : RUN apt-get dist-upgrade -y | |
---> Using cache | |
---> e350d382233b | |
Step 3/9 : RUN apt-get update -y | |
---> Using cache | |
---> 9ed4ed26a5a7 | |
Step 4/9 : RUN apt-get upgrade -y | |
---> Using cache | |
---> 9ebc2f09ab4e | |
Step 5/9 : RUN apt-get install -y fceux | |
---> Using cache | |
---> c401c39eccfb | |
Step 6/9 : RUN apt-get install -y wget unzip | |
---> Using cache | |
---> 65e14368d0fa | |
Step 7/9 : RUN wget http://mirror1.freeroms.com/nes_roms/04/mpout.zip | |
---> Using cache | |
---> c9079eb0a900 | |
Step 8/9 : RUN unzip mpout.zip | |
---> Using cache | |
---> b18ea6572eaa | |
Step 9/9 : CMD nes | |
---> Using cache | |
---> 2b41d6618502 | |
Successfully built 2b41d6618502 | |
mutjake@linux-hmf7:~/fceux-docker> sudo docker run -ti --rm --device /dev/snd --group-add audio -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ubuntu-fceux | |
Starting FCEUX 2.2.2... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment