0445.html 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Run DashMachine Application Dashboard in Docker on Debian</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="DashMachine,Application Dashboard,Web Based Tools,Docker,Linux,Debian,Heimdall Alternative,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Run DashMachine Application Dashboard in Docker on Debian">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="10/26/2022 12:38:25 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>Run DashMachine Application Dashboard in Docker on Debian</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"># update software respositories<br />
  29. sudo apt update<br />
  30. # install available software updates<br />
  31. sudo apt upgrade -y<br />
  32. # install prerequisites<br />
  33. sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y<br />
  34. # add docker gpg key<br />
  35. curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -<br />
  36. # add docker apt repository<br />
  37. sudo apt-add-repository &quot;deb [arch=amd64] https://download.docker.com/linux/debian buster stable&quot;<br />
  38. # update software respositories again<br />
  39. sudo apt update<br />
  40. # install docker<br />
  41. sudo apt install docker-ce docker-ce-cli containerd.io -y<br />
  42. # add the current user to the docker group<br />
  43. sudo usermod -aG docker $USER<br />
  44. # reauthenticate for the new group membership to take effect<br />
  45. su - $USER</div>
  46. </li>
  47. </ol>
  48. <h2>Running DashMachine Application Dashboard</h2>
  49. <ol>
  50. <li>Continue with the following commands in a terminal window
  51. <div class="codeBlock"># make a working directory<br />
  52. mkdir ~/docker/dashmachine -p<br />
  53. # run the dashmachine docker image<br />
  54. docker run --name=dashmachine -p 5000:5000 -v ~/docker/dashmachine:/dashmachine/dashmachine/user_data --restart unless-stopped rmountjoy/dashmachine:latest</div>
  55. </li>
  56. <li>Open a web browser and navigate to http://localhost:5000</li>
  57. <li>Log in with the username admin and password admin</li>
  58. <li>Welcome to DashMachine running inside a Docker container</li>
  59. </ol>
  60. <p>Source: <a href="https://hub.docker.com/r/rmountjoy/dashmachine" target="_blank">https://hub.docker.com/r/rmountjoy/dashmachine</a></p> </div>
  61. </div>
  62. </body>
  63. </html>