0806.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Docker on MacOS</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Docker,Docker Host,Docker How To,Docker Install Script,Docker Installation Tutorial,Docker Setup Tutorial,Docker Simplified,Docker Tutorial,Getting Started With Docker,How To Install Docker On MacOS,How To Setup Docker On MacOS,Installation,MacOS,Brew,Container,Containerization,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Docker on MacOS">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="09/30/2022 02:18:35 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>Installing Docker on MacOS</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Start LaunchPad from the dock</li>
  27. <li>Search terminal &gt; Click Terminal to launch it</li>
  28. <li>Run the following commands in the terminal window
  29. <div class="codeBlock CMD"># install command line tools<br />
  30. xcode-select --install<br />
  31. # if prompted, click install and agree to install command line tools<br />
  32. # install homebrew<br />
  33. /bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;<br />
  34. # enter your password<br />
  35. # press Enter to continue<br />
  36. # install docker<br />
  37. brew install --cask docker<br />
  38. # enter your password when prompted</div>
  39. </li>
  40. <li>Once the Docker install completes, start LaunchPad from the dock &gt; Select Docker</li>
  41. <li>Click Open to confirm opening the downloaded application</li>
  42. <li>Check the I accept checkbox &gt; Click Accept</li>
  43. <li>To run a basic Docker container, run the following command in the terminal
  44. <div class="codeBlock CMD">sudo docker run hello-world</div>
  45. </li>
  46. <li>Docker will download the hello-world container and execute it, displaying following output:
  47. <p>Hello from Docker!<br />
  48. This message shows that your installation appears to be working correctly.</p>
  49. </li>
  50. </ol> </div>
  51. </div>
  52. </body>
  53. </html>