0338.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running Heimdall Application Dashboard Using Docker</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Heimdall Application Dashboard,Home Lab Dashboard,Heimdall Dashboard,Heimdall Docker,Heimdall,Docker Made Easy,Home Lab,Install Guide,Application Dashboard,Docker,Containerize,Homelab,Self-Hosted,Browser Based,Web Based,Web Based Tools,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running Heimdall Application Dashboard Using Docker">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/16/2022 08:35:02 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Running Heimdall Application Dashboard Using Docker</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Installing Docker</h2>
  26. <ol>
  27. <li>Log into the Linux Docker host and run the following commands in a terminal window
  28. <div class="codeBlock"># install prerequisites<br />
  29. sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
  30. # add docker gpg key<br />
  31. curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
  32. # add docker software repository<br />
  33. sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
  34. # install docker<br />
  35. sudo apt install docker-ce docker-compose containerd.io -y<br />
  36. # enable and start docker service<br />
  37. sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
  38. # add the current user to the docker group<br />
  39. sudo usermod -aG docker $USER<br />
  40. # reauthenticate for the new group membership to take effect<br />
  41. su - $USER</div>
  42. </li>
  43. </ol>
  44. <h2>Running Heimdall Application Dashboard</h2>
  45. <ol>
  46. <li>Continue with the following commands in a terminal window
  47. <div class="codeBlock"># list current uid and gid, note these for later<br />
  48. id $user<br />
  49. # make a heimdall directory to mount in the container<br />
  50. mkdir ~/heimdall<br />
  51. # run the heimdall docker image<br />
  52. # replace PUID, GUID with the output of the id $user command above<br />
  53. docker run --name=heimdall -e PUID=1001 -e PGID=1001 -e TZ=america/new_york -p 8006:80 -v ~/heimdall:/config --restart unless-stopped linuxserver/heimdall</div>
  54. </li>
  55. <li>Open a web browser and navigate to http://localhost:8006</li>
  56. <li>Open a file manager and navigate to ~/heimdall to see the files the container has created</li>
  57. </ol>
  58. <p>Source: <a href="https://hub.docker.com/r/linuxserver/heimdall/" target="_blank">https://hub.docker.com/r/linuxserver/heimdall/</a></p>
  59. </div>
  60. </div>
  61. </body>
  62. </html>