-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0721: Run RetroArch - Retro Emulation Frontend - In Docker
- Loading branch information
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>Run RetroArch - Retro Emulation Frontend - In Docker</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta charset="UTF-8"> | ||
<meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Web Based,Ubuntu,Linux,Homelab,Docker Tutorial,Docker Simplified,Docker Made Simple,Docker Made Easy,Docker How To,Docker Container,Docker,RetroArch,RetroArch Docker Container,Emulation Docker Container,How To,Tutorial,i12bretro"> | ||
<meta name="author" content="i12bretro"> | ||
<meta name="description" content="Run RetroArch - Retro Emulation Frontend - In Docker"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="revised" content="12/29/2023 01:26:49 PM" /> | ||
<link rel="icon" type="image/x-icon" href="includes/favicon.ico"> | ||
<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script> | ||
<script type="text/javascript" src="includes/js/steps.js"></script> | ||
<link href="css/steps.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<div id="gridContainer"> | ||
<div class="topMargin"></div> | ||
<div id="listName" class="topMargin"> | ||
<h1>Run RetroArch - Retro Emulation Frontend - In Docker</h1> | ||
</div> | ||
<div></div> | ||
<div id="content"> | ||
<h2>What is RetroArch?</h2> | ||
|
||
<blockquote><em>RetroArch is a frontend for emulators, game engines and media players. It enables you to run classic games on a wide range of computers and consoles through its slick graphical interface. Settings are also unified so configuration is done once and for all. -<a href="https://www.retroarch.com/" target="_blank">https://www.retroarch.com/</a></em></blockquote> | ||
|
||
<h2>Installing Docker</h2> | ||
|
||
<ol> | ||
<li>Log into the Linux based device</li> | ||
<li>Run the following commands in the terminal | ||
<div class="codeBlock"># install prerequisites<br /> | ||
sudo apt install apt-transport-https ca-certificates git curl software-properties-common gnupg-agent -y<br /> | ||
# add docker gpg key<br /> | ||
curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -<br /> | ||
# add docker software repository<br /> | ||
sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"<br /> | ||
# install docker<br /> | ||
sudo apt install docker-ce docker-compose containerd.io -y<br /> | ||
# enable and start docker service<br /> | ||
sudo systemctl enable docker && sudo systemctl start docker<br /> | ||
# add the current user to the docker group<br /> | ||
sudo usermod -aG docker $USER<br /> | ||
# reauthenticate for the new group membership to take effect<br /> | ||
su - $USER</div> | ||
</li> | ||
</ol> | ||
|
||
<h2>Running RetroArch</h2> | ||
|
||
<ol> | ||
<li>Now that Docker is installed, run the following commands to setup the RetroArch Docker container and run it | ||
<div class="codeBlock"># create working directory<br /> | ||
mkdir ~/docker/retroarch/roms -p<br /> | ||
# run retroarch container<br /> | ||
docker run -d --name=retroarch -p 8080:80 -v ~/docker/retroarch/roms:/roms --restart=unless-stopped blaize/retroarch</div> | ||
</li> | ||
<li>Open a web browser and navigate to http://DNSorIP:8080</li> | ||
<li>Click the vnc.html link</li> | ||
<li>Click Connect button > Type password1 in the password field > Press Enter</li> | ||
<li>Welcome to RetroArch running in Docker</li> | ||
</ol> | ||
|
||
<p>Source: <a href="https://github.com/theonemule/retroarch-docker" target="_blank">https://github.com/theonemule/retroarch-docker</a></p> </div> | ||
</div> | ||
</body> | ||
</html> | ||
|