how-to-install-and-use-docker-on-debian-10.html 106 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <title>How To Install and Use Docker on Debian 10 | DigitalOcean</title>
  7. <meta name="description" content="Docker is an application that simplifies the process of managing application processes in containers. In this tutorial, you&#39;ll install and use Docker Community Edition (CE) on Debian 10. You&#39;ll install Docker itself, work with containers and images, a">
  8. <link rel="apple-touch-icon" sizes="180x180" href="/assets/community/apple-icon-180x180-4b5ac7f80f7cb483dde5afeb99c279301c50ec3670129c73ce568f1b465354be.png" />
  9. <link rel="apple-touch-icon" sizes="152x152" href="/assets/community/apple-icon-152x152-ff64fd3242c24284fefdaec8d6d85c68f98744142d58b950f7ec67cbf03251d7.png" />
  10. <link rel="apple-touch-icon" sizes="144x144" href="/assets/community/apple-icon-144x144-3018401d3d675917b06ded0482cdf53a7c3558b4dc7b6b8de21a485a8da27dfe.png" />
  11. <link rel="apple-touch-icon" sizes="120x120" href="/assets/community/apple-icon-120x120-052cdf68a3af8b01c3fd0d46ed35f8f089c10c690109d20e7b186f0159391863.png" />
  12. <link rel="apple-touch-icon" sizes="114x114" href="/assets/community/apple-icon-114x114-8d862033fc61d86a60b4bdbbbab284da399da714089995ce7efc249f36409517.png" />
  13. <link rel="apple-touch-icon" sizes="76x76" href="/assets/community/apple-icon-76x76-d7c1877f2224ca127b591f65d16635fa7472e7b2cd0e1fe7e7dc8b74d03dd874.png" />
  14. <link rel="apple-touch-icon" sizes="72x72" href="/assets/community/apple-icon-72x72-2d888cc13ddb01fb0d786a0c8567c0a2909eaeb86901da715099b6b88a36b46a.png" />
  15. <link rel="apple-touch-icon" sizes="60x60" href="/assets/community/apple-icon-60x60-01be5b392df60249f168b8b2eed5c928c63aa43ac398c7180cd219c5acdd1e70.png" />
  16. <link rel="apple-touch-icon" sizes="57x57" href="/assets/community/apple-icon-57x57-d060d0fd30794efd579d9edc283917e0a65adfd366e151d9a5cfd8fd7d07cb43.png" />
  17. <link rel="icon" type="image/png" sizes="192x192" href="/assets/community/android-icon-192x192-4d13e6664f412f6904a78be76d626004bcbbd59671f6c755919628134003c2a8.png" />
  18. <link rel="icon" type="image/png" sizes="32x32" href="/assets/community/favicon-32x32-e377577c425642ab495296dfec040ec903e36ffc4cd7a0a4281e84597891a774.png" />
  19. <link rel="icon" type="image/png" sizes="96x96" href="/assets/community/favicon-96x96-967f34b6716bb3cffebefe1fa53206d38d60c72635e826ec5d172c58fb4ab5a9.png" />
  20. <link rel="icon" type="image/png" sizes="16x16" href="/assets/community/favicon-16x16-ce9c1eb6d969d5b2ec276ae4b715756aa0e63106f33dc53a836687fdfee49ecd.png" />
  21. <meta name="msapplication-TileImage" content="/assets/community/ms-icon-144x144-3018401d3d675917b06ded0482cdf53a7c3558b4dc7b6b8de21a485a8da27dfe.png" />
  22. <meta name="msapplication-TileColor" content="#0069ff" />
  23. <meta name="theme-color" content="#0069ff" />
  24. <meta name="og:title" content="How To Install and Use Docker on Debian 10 | DigitalOcean">
  25. <meta name="og:description" content="Docker is an application that simplifies the process of managing application processes in containers. In this tutorial, you&#39;ll install and use Docker Community Edition (CE) on Debian 10. You&#39;ll install Docker itself, work with containers and images, a">
  26. <meta name="og:site_name" content="DigitalOcean">
  27. <meta name="og:type" content="article">
  28. <meta name="og:image" content="https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/tutorials/images/large/Docker_Install_mostov_twitter-_-facebook-2.png?1562602024">
  29. <meta name="twitter:site" content="DigitalOcean">
  30. <meta name="twitter:title" content="How To Install and Use Docker on Debian 10 | DigitalOcean">
  31. <meta name="twitter:description" content="Docker is an application that simplifies the process of managing application processes in containers. In this tutorial, you&#39;ll install and use Docker Community Edition (CE) on Debian 10. You&#39;ll install Docker itself, work with containers and images, a">
  32. <meta name="twitter:creator" content="DigitalOcean">
  33. <meta name="twitter:card" content="photo" />
  34. <meta name="twitter:url" content="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10"/>
  35. <meta name="twitter:image" content="https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/tutorials/images/large/Docker_Install_mostov_twitter-_-facebook-2.png?1562602024">
  36. <link rel='canonical' href='https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10'>
  37. <link rel='amphtml' href='https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10.amp'>
  38. <link rel="preconnect" href="https://digitalocean.cdn.prismic.io">
  39. <link rel="preconnect" href="https://hello.myfonts.net">
  40. <link rel="stylesheet" media="all" href="/assets/community/application-1d6f1f0ccf88e772200c0b6525375710b6023a41177a7e17ae81ab21dcd67c22.css" />
  41. <meta name="csrf-param" content="authenticity_token" />
  42. <meta name="csrf-token" content="ZQQbnC6uBuuoKfGNBn9BZkLhDMFVk0SB7EyzXa3oM+WxgI66puOt1jREkkmDJfbVlPLkQNLUBWyLB6mx5tnXHg==" />
  43. <script src="/assets/community/prerequisites-d767b66db7c8ba7d47a922cfce41c73d40601b3586be6f96107d5cd25cc752b8.js"></script>
  44. <script>
  45. //<![CDATA[
  46. window.cookieDomain = '.digitalocean.com';
  47. //]]>
  48. </script><script defer src="https://assets.digitalocean.com/cookieConsent/cookieConsent.js"></script>
  49. <script>
  50. (function () {
  51. document.addEventListener("DOMContentLoaded", function () {
  52. var css = document.getElementById("cookie-consent-css");
  53. if (css) { return; }
  54. css = document.createElement("link");
  55. css.id = "cookie-consent-css";
  56. css.rel = "stylesheet";
  57. css.href = "https://assets.digitalocean.com/cookieConsent/cookieConsent.css";
  58. document.head.insertBefore(css, document.head.childNodes[ document.head.childNodes.length - 1 ].nextSibling);
  59. }, false);
  60. })();
  61. </script>
  62. <script type="text/javascript">
  63. if(window.analytics=window.analytics||[],window.analytics.included)window.console&&console.error&&console.error("analytics.js included twice");else{window.analytics.included=!0,window.analytics.methods=["identify","group","track","page","pageview","alias","ready","on","once","off","trackLink","trackForm","trackClick","trackSubmit"],window.analytics.factory=function(a){return function(){var n=Array.prototype.slice.call(arguments);return n.unshift(a),window.analytics.push(n),window.analytics}};for(var i=0;i<window.analytics.methods.length;i++){var key=window.analytics.methods[i];window.analytics[key]=window.analytics.factory(key)}window.analytics.load=function(a){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src=("https:"===document.location.protocol?"https://":"http://")+"cdn.segment.com/analytics.js/v1/"+a+"/analytics.min.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)},window.analytics.SNIPPET_VERSION="2.0.9",window.analytics.load("puo3uv968t")}
  64. window.analytics.page();
  65. </script>
  66. <!-- Google Tag Manager -->
  67. <script>
  68. (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  69. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  70. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  71. '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  72. })(window,document,'script','dataLayer','GTM-KHWBBT');
  73. </script>
  74. <!-- End Google Tag Manager -->
  75. <script src="/assets/community/internalCookies-d87064530395e23ede521d41535044c0b89092bef82bbb545bd1c8f731908bad.js"></script>
  76. <script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
  77. <link rel="alternate" type="application/rss+xml" title="RSS" href="/community/tutorials/feed">
  78. <script>
  79. window.comApp = {
  80. prefix: '/community',
  81. svgIconPath: 'https://www.digitalocean.com/assets/community/icon-sprite-a36f54b391966bc94e4a1e4467047db73568edf98e549f4bc919b952f5272560.svg',
  82. railsEnv: 'production',
  83. rootUrl: 'https://www.digitalocean.com/community',
  84. algolia_application_id: '6ZHEUVKJ88',
  85. algolia_api_key: 'c5470567eae7fa1177d43222e18ba086'
  86. };
  87. </script>
  88. <script>
  89. window.Prism = window.Prism || {};
  90. window.Prism.manual = true;
  91. </script>
  92. <script src="/assets/community/application-47a7a0a1952ecc5f32f1e0249f36c314c830546ea5ea9d8f18e23dbdebe07e55.js"></script>
  93. </head>
  94. <body class="feature-filter-bar feature-upvotes tutorials-controller tutorial-single" data-env="production" data-prefix="/community" data-user-id="" data-facebook-app-id="694818843983011" data-completed-tutorial-id="" data-tutorial-id="3039" data-js="tutorial"
  95. data-upvote="null"
  96. data-flagged=""
  97. >
  98. <div class='outside_viewport'>
  99. <div id="contents-modal" class="modal fade mini-modal" style="display: none;">
  100. <div class="modal-dialog">
  101. <div class="modal-content">
  102. <div class="modal-header">
  103. <h1>Contents</h1>
  104. <button class="close-button icon icon-close-light" data-dismiss="modal" aria-label="close"></button>
  105. </div>
  106. <div class="modal-body">
  107. <div class="table-of-contents-modal"></div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. <div id="share-modal" class="modal fade mini-modal" style="display: none;">
  113. <div class="modal-dialog">
  114. <div class="modal-content">
  115. <div class="modal-header">
  116. <h1>Share</h1>
  117. <button type="button" class="close-button icon icon-close-light" aria-label="close" data-dismiss="modal"></button>
  118. </div>
  119. <div class="modal-body">
  120. <div class="social-sharing social-sharing-container">
  121. <ul class="top ">
  122. <li class="shareBtn" id="sbTwitter">
  123. <a href="http://twitter.com/share?text=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;url=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=twshare" class="share-icon share-popup" title="Share on Twitter" target="_blank">
  124. <span class="sIcon icon-bird"></span>
  125. </a>
  126. <a href="http://twitter.com/share?text=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;url=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=twshare" class="share-link share-popup" title="Share on Twitter" target="_blank">
  127. Twitter
  128. </a>
  129. </li>
  130. <li class="shareBtn" id="sbFacebook">
  131. <a class="share-icon share-popup" href="https://www.facebook.com/sharer/sharer.php?u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=fbshare" title="Share on Facebook" target="_blank">
  132. <span class="sIcon icon-facebook-B"></span>
  133. </a>
  134. <a class="share-link share-popup" href="https://www.facebook.com/sharer/sharer.php?u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=fbshare" title="Share on Facebook" target="_blank">
  135. Facebook
  136. </a>
  137. </li>
  138. <li class="shareBtn" id="sbYC">
  139. <a href="https://news.ycombinator.com/submitlink?t=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=hnshare" class="share-icon share-popup" target="_blank" title="Submit to Hacker News">
  140. <span class="sIcon icon-hacker-news"></span>
  141. </a>
  142. <a href="https://news.ycombinator.com/submitlink?t=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=hnshare" class="share-link share-popup" target="_blank" title="Submit to Hacker News">
  143. Hacker News
  144. </a>
  145. </li>
  146. </ul>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <div class="table-of-contents">
  153. <div data-js="tableOfContentsDesktop"></div>
  154. </div>
  155. <!-- algolia universal search -->
  156. <input type="hidden" id="q-universal-search" value="" />
  157. <div id="share-modal" class="modal fade mini-modal" style="display: none;">
  158. <div class="modal-dialog">
  159. <div class="modal-content">
  160. <div class="modal-header">
  161. <h1>Share</h1>
  162. <button type="button" class="close-button icon icon-close-light" aria-label="close" data-dismiss="modal"></button>
  163. </div>
  164. <div class="modal-body">
  165. <div class="social-sharing social-sharing-container">
  166. <ul class="bottom ">
  167. <li class="shareBtn" id="sbTwitter">
  168. <a href="http://twitter.com/share?text=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;url=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=twshare" class="share-icon share-popup" title="Share on Twitter" target="_blank">
  169. <span class="sIcon icon-bird"></span>
  170. </a>
  171. <a href="http://twitter.com/share?text=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;url=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=twshare" class="share-link share-popup" title="Share on Twitter" target="_blank">
  172. Twitter
  173. </a>
  174. </li>
  175. <li class="shareBtn" id="sbFacebook">
  176. <a class="share-icon share-popup" href="https://www.facebook.com/sharer/sharer.php?u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=fbshare" title="Share on Facebook" target="_blank">
  177. <span class="sIcon icon-facebook-B"></span>
  178. </a>
  179. <a class="share-link share-popup" href="https://www.facebook.com/sharer/sharer.php?u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=fbshare" title="Share on Facebook" target="_blank">
  180. Facebook
  181. </a>
  182. </li>
  183. <li class="shareBtn" id="sbYC">
  184. <a href="https://news.ycombinator.com/submitlink?t=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=hnshare" class="share-icon share-popup" target="_blank" title="Submit to Hacker News">
  185. <span class="sIcon icon-hacker-news"></span>
  186. </a>
  187. <a href="https://news.ycombinator.com/submitlink?t=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=hnshare" class="share-link share-popup" target="_blank" title="Submit to Hacker News">
  188. Hacker News
  189. </a>
  190. </li>
  191. </ul>
  192. </div>
  193. </div>
  194. </div>
  195. </div>
  196. </div>
  197. <div id="newsletter-signup-dialog" class="newsletter-signups-dialog" data-newsletter-signup-dialog data-article-target=".content-body">
  198. <div class="form-message">
  199. <div class="pull-right">
  200. <a href="javascript:;" class="newsletter-signups-dialog-dismiss" data-newsletter-signup-dismiss>&times;</a>
  201. </div>
  202. <h4 class="newsletter-signups-dialog-title">
  203. Sign up for our newsletter.
  204. </h4>
  205. <p class="newsletter-signups-dialog-description">
  206. Get the latest tutorials on SysAdmin and open source topics.
  207. </p>
  208. <form class="newsletter-signup" id="new_newsletter_signup" data-newsletter-signup="true" action="/community/newsletter" accept-charset="UTF-8" data-remote="true" method="post"><input name="utf8" type="hidden" value="&#x2713;" />
  209. <input data-newsletter-signup-field="url" type="hidden" name="newsletter_signup[url]" id="newsletter_signup_url" />
  210. <input data-newsletter-signup-field="title" type="hidden" name="newsletter_signup[title]" id="newsletter_signup_title" />
  211. <div class="newsletter-signup-ajax-error" data-newsletter-signup-ajax-error></div>
  212. <div class="form-group">
  213. <input placeholder="Enter your email address" required="required" class="field" type="email" name="newsletter_signup[email]" id="newsletter_signup_email" />
  214. </div>
  215. <button data-disable-with="Sign Up" class="button blue-button">
  216. Sign Up
  217. </button>
  218. </form>
  219. </div>
  220. <div class="thanks-message hidden" data-newsletter-signup-successful>
  221. <div class='pull-right'>
  222. <a href='javascript:;' class='newsletter-signups-dialog-dismiss icon icon-close-light' data-newsletter-signup-dismiss></a>
  223. </div>
  224. <span class='newsletter-signups-dialog-success'>
  225. Thanks for signing up!
  226. </span>
  227. </div>
  228. </div>
  229. </div>
  230. <div style="display: none;">
  231. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  232. <symbol id="navbar-logo" xmlns="http://www.w3.org/2000/svg"> <title>DigitalOcean home</title> <g fill="currentColor" fill-rule="evenodd"> <path d="M14.4942 29v-5.5674c5.9572 0 10.5633-5.8478 8.2892-12.059-.8425-2.3006-2.693-4.1355-5.0126-4.9706-6.262-2.2534-12.1564 2.3135-12.1573 8.2207 0 0-.0006.0014-.0014.0014H0C0 5.2123 9.1687-2.1167 19.1138.9624c4.3459 1.3457 7.7993 4.7708 9.1561 9.081C31.3742 19.9068 23.985 29 14.4942 29"></path> <path d="M14.507 23.4468H8.9103v-5.549s.0005-.0011.0011-.0011h5.5949c.0006 0 .0009.0006.0009.0006v5.5495M8.9093 27.7118H4.6105l-.0012-.0012v-4.2638h4.3009v4.2638l-.0009.0012M4.6125 23.4468H1.0088c-.0015 0-.0026-.0012-.0026-.0012v-3.5724s.0011-.0025.0026-.0025h3.601c.0015 0 .0027.0011.0027.0011v3.575M43.2806 9.6357h1.649c1.8346 0 3.345.358 4.49 1.0647 1.2714.7603 1.9164 2.2069 1.9164 4.2991 0 2.1554-.6465 3.6671-1.9207 4.4942h-.0008c-1.0971.7196-2.5981 1.0846-4.462 1.0846h-1.6719V9.6357zm8.324-1.0736c-1.6598-1.142-3.7252-1.721-6.1387-1.721h-5.2537V23.373h5.2537c2.4074 0 4.4737-.6113 6.1407-1.8157.907-.6382 1.6197-1.5304 2.1185-2.651.4962-1.1144.7479-2.4288.7479-3.9067 0-1.4605-.2517-2.758-.7482-3.857-.4988-1.104-1.212-1.972-2.1202-2.5804zM58.1303 6.6376c-.5051 0-.9403.1777-1.2906.5254-.3546.335-.5346.7597-.5346 1.2618 0 .501.1791.9322.532 1.2825.3529.35.788.528 1.2932.528.5042 0 .9394-.178 1.2928-.528.3535-.3508.5324-.7821.5324-1.2825 0-.5015-.18-.926-.5324-1.2592-.3534-.3503-.7886-.528-1.2928-.528M56.6247 23.3729h2.9538V11.7294h-2.9538zM69.5321 19.5787c-.5162.5814-1.1793.8635-2.0264.8635-.8471 0-1.5064-.282-2.015-.863-.5065-.5777-.7637-1.3439-.7637-2.2773 0-.9479.2572-1.7238.764-2.3058.502-.576 1.1796-.8683 2.0147-.8683.8465 0 1.5096.284 2.0262.8695.5142.582.7751 1.3573.7751 2.3046 0 .9328-.2609 1.6988-.7749 2.2768zm.775-6.8767c-.8908-.7858-1.8858-1.2444-2.9614-1.2444-1.6305 0-2.9859.5598-4.0276 1.662-1.0555 1.0932-1.5907 2.5006-1.5907 4.1823 0 1.644.5269 3.0464 1.568 4.1709 1.0498 1.088 2.4123 1.6396 4.0503 1.6396 1.139 0 2.1182-.3144 2.9157-.9356v.268c0 .9662-.2608 1.7176-.7751 2.234-.5137.5154-1.226.7764-2.1173.7764-1.3637 0-2.2183-.5314-3.2589-1.9262l-2.0115 1.917.0542.0754c.4346.605 1.1 1.197 1.9785 1.7594.8787.5603 1.9832.8447 3.2832.8447 1.7536 0 3.1726-.5363 4.2172-1.5933 1.0506-1.0628 1.5835-2.486 1.5835-4.2286V11.7294H70.307v.9726zM75.7434 23.3729h2.9541V11.7294h-2.9541zM77.249 6.6376c-.5052 0-.94.1777-1.2906.5254-.3547.335-.5344.7597-.5344 1.2618 0 .501.1789.9322.532 1.2825.353.35.7878.528 1.293.528.5045 0 .9396-.178 1.2928-.528.3535-.3508.5323-.7821.5323-1.2825 0-.5015-.1797-.926-.5323-1.2592-.3532-.3503-.7883-.528-1.2929-.528M85.1724 8.5831h-2.9082v3.1463h-1.6888v2.6702h1.6888v4.8365c0 1.5134.3047 2.5964.9064 3.2181.6031.6247 1.6741.9414 3.1831.9414.48 0 .963-.0156 1.4354-.0463l.133-.0088v-2.6683l-1.013.0526c-.7033 0-1.1728-.1226-1.3961-.3637-.226-.245-.3406-.7636-.3406-1.5404v-4.421h2.7497v-2.6703h-2.7497V8.583M101.7735 23.3729h2.9544V6.8412h-2.9544zM134.5728 19.2094c-.5286.5874-1.0693 1.0966-1.4855 1.3613v.0005c-.4085.2599-.924.3918-1.532.3918-.8703 0-1.5703-.3144-2.1405-.9621-.567-.644-.8545-1.4716-.8545-2.4613s.2838-1.8162.8436-2.4556c.5625-.6434 1.2588-.9562 2.1285-.9562.9515 0 1.9548.5869 2.8145 1.5947l1.9525-1.8568c-1.273-1.6433-2.897-2.4081-4.8352-2.4081-1.622 0-3.028.5862-4.1788 1.7411-1.1446 1.147-1.7251 2.6074-1.7251 4.3409 0 1.7335.58 3.1977 1.7234 4.352 1.1447 1.1557 2.5514 1.7417 4.1805 1.7417 2.139 0 3.8651-.9158 5.029-2.5935l-1.9204-1.8304M140.2405 16.0973c.1422-.5567.401-1.0207.7714-1.381.4005-.3906.9214-.5885 1.5489-.5885.716 0 1.2702.2019 1.6474.6014.3495.3696.5467.8296.588 1.368h-4.5557zm6.4569-2.7414c-.4191-.5788-.9896-1.0448-1.6965-1.3854-.7047-.3404-1.526-.513-2.441-.513-1.6489 0-2.9982.6037-4.0113 1.7946-.9836 1.182-1.4818 2.651-1.4818 4.3665 0 1.7648.547 3.2253 1.6254 4.341 1.0727 1.1105 2.5083 1.6737 4.267 1.6737 1.992 0 3.627-.799 4.8587-2.3752l.0666-.0847-1.9273-1.837c-.1789.2139-.4317.4561-.6628.6722-.2918.273-.5659.4842-.8588.6289-.4415.218-.9369.3255-1.4907.3255-.8187 0-1.4964-.2388-2.0147-.71-.4847-.4403-.768-1.0345-.843-1.7683h7.8265l.0264-1.0693c0-.7569-.1038-1.4862-.3088-2.1677a6.312 6.312 0 0 0-.934-1.8918zM152.797 18.9234c.3352-.2318.8085-.3483 1.4073-.3483.7112 0 1.4654.1413 2.2426.421v1.1421c-.6421.592-1.4996.8922-2.5499.8922-.5114 0-.909-.1126-1.1822-.3355-.2683-.218-.3985-.4955-.3985-.847 0-.3994.1571-.7022.4808-.9245zm5.2452-6.3229h-.0003c-.8952-.758-2.1328-1.143-3.678-1.143-.9829 0-1.902.2144-2.7336.6324-.7691.387-1.5245 1.0275-2.0043 1.8662l.0298.0358 1.8917 1.796c.7791-1.2322 1.6454-1.66 2.7941-1.66.6172 0 1.1298.1643 1.5234.4881.3916.3216.5819.7304.5819 1.249v.5652c-.7324-.221-1.4629-.333-2.1738-.333-1.47 0-2.6663.3432-3.555 1.0193-.9.6852-1.3562 1.665-1.3562 2.9125 0 1.094.3847 1.9829 1.1461 2.6433.7677.6372 1.7275.961 2.8524.961 1.1246 0 2.177-.4495 3.132-1.2191v.9587h2.9089v-7.4852c0-1.4173-.4572-2.523-1.3591-3.2872zM170.7656 12.8285c-.8227-.9092-1.9791-1.371-3.4371-1.371-1.172 0-2.1236.3338-2.8357.9926v-.7207h-2.897v11.6435h2.954v-6.4215c0-.8823.2119-1.5828.6293-2.0826.4162-.4987.989-.741 1.75-.741.6691 0 1.1765.2167 1.5506.662.3759.4474.5662 1.0638.5662 1.8335v6.7496H172v-6.7496c0-1.6127-.415-2.889-1.2344-3.7948M92.8158 18.9234c.3351-.2318.8087-.3483 1.4075-.3483.7112 0 1.4652.1413 2.2426.421v1.1421c-.6421.592-1.4998.8922-2.5502.8922-.5114 0-.9087-.1126-1.1819-.3355-.2683-.218-.3988-.4955-.3988-.847 0-.3994.1574-.7022.4808-.9245zm5.2451-6.3229h-.0003c-.8952-.758-2.1328-1.143-3.6776-1.143-.983 0-1.902.2144-2.7337.6324-.7694.387-1.5247 1.0275-2.0043 1.8662l.0295.0358 1.8917 1.796c.7792-1.2322 1.6458-1.66 2.7941-1.66.6172 0 1.1298.1643 1.5234.4881.3916.3216.5822.7304.5822 1.249v.5652c-.7327-.221-1.4631-.333-2.174-.333-1.47 0-2.6664.3432-3.555 1.0193-.8999.6852-1.3562 1.665-1.3562 2.9125 0 1.094.3847 1.9829 1.1463 2.6433.7677.6372 1.7272.961 2.8524.961 1.1246 0 2.1766-.4495 3.1318-1.2191v.9587H99.42v-7.4852c0-1.4173-.457-2.523-1.359-3.2872zM115.4464 9.5808c-3.0682 0-5.5645 2.4755-5.5645 5.5188s2.4963 5.5188 5.5645 5.5188c3.0682 0 5.5645-2.4755 5.5645-5.5188s-2.4963-5.5188-5.5645-5.5188zm0 14.0408c-4.7383 0-8.5928-3.8228-8.5928-8.522 0-4.6994 3.8545-8.5223 8.5928-8.5223 4.738 0 8.5925 3.8229 8.5925 8.5223 0 4.6992-3.8545 8.522-8.5925 8.522z"></path> </g> </symbol>
  233. <symbol id="navbar-community_logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 532.2 99.8" fill="currentColor"> <path class="st0" d="M98.5,23c15.5,0,27.7,12.1,27.7,28.2c0,16.1-12.3,28.1-27.7,28.1c-15.6,0-27.7-11.9-27.7-28.1 C70.8,35.1,82.9,23,98.5,23z M98.5,67.9c8.7,0,14.9-7,14.9-16.8c0-9.8-6.2-16.8-14.9-16.8c-8.8,0-15,7-15,16.8 C83.5,60.9,89.7,67.9,98.5,67.9z"/> <path class="st0" d="M166.8,45.9c0-7-3.5-11.6-9.9-11.6c-7.2,0-11.1,5.3-11.1,13.1V78h-12.5V24.3h12.3V29c2.4-2.8,7-6,13.9-6 c7.3,0,12.2,3.1,15,7c4.4-4.9,10-7,16.8-7c14.4,0,21.4,8.5,21.4,23.8V78h-12.5V45.9c0-7-3.5-11.6-9.9-11.6 c-7.2,0-11.2,5.3-11.2,13.1V78h-12.4V45.9z"/> <path class="st0" d="M255.5,45.9c0-7-3.5-11.6-9.9-11.6c-7.2,0-11.1,5.3-11.1,13.1V78h-12.5V24.3h12.3V29c2.4-2.8,7-6,13.9-6 c7.3,0,12.2,3.1,15,7c4.4-4.9,10-7,16.8-7c14.4,0,21.4,8.5,21.4,23.8V78h-12.5V45.9c0-7-3.5-11.6-9.9-11.6 c-7.2,0-11.2,5.3-11.2,13.1V78h-12.4V45.9z"/> <path class="st0" d="M322.5,56.4c0,7,3.6,11.6,10.1,11.6c7.2,0,11.2-5.6,11.2-13.5V24.3h12.5V78h-12.3v-4.4 c-3.4,3.7-8.1,5.6-13.9,5.6c-11.9,0-20.1-8.4-20.1-23.7V24.3h12.5V56.4z"/> <path class="st0" d="M378.2,78h-12.5V24.3h12.3v4.4c2.7-3.1,7.7-5.7,13.9-5.7c13.1,0,21.3,8.5,21.3,23.8V78h-12.5V46.8 c0-7.5-3.7-12.5-10.6-12.5c-7.8,0-11.8,5.6-11.8,14V78z"/> <path class="st0" d="M427.8,0.2c4.4,0,7.9,3.4,7.9,7.8s-3.5,7.9-7.9,7.9c-4.4,0-7.9-3.5-7.9-7.9S423.4,0.2,427.8,0.2z M421.4,24.3 h12.5V78h-12.5V24.3z"/> <path class="st0" d="M446.7,59.1V35.5h-6.5V24.3h6.5v-15H459v15h12.2v11.2H459v21.7c0,7.8,1.8,9.8,8.8,9.8c1.2,0,4.1-0.2,4.1-0.2 v11.2c0,0-2.4,0.2-6.7,0.2C451.2,78.1,446.7,72.7,446.7,59.1z"/> <path class="st0" d="M497.3,78.7l-21.3-54.4h14.2l14,38.8l14.2-38.8h13.6l-24.1,60.2c-3.7,9.4-7.2,15.3-21.3,15.3 c-2.5,0-4.8-0.1-4.8-0.1V88c0,0,1.5,0.1,2.8,0.1c7.6,0,9.8-2.3,11.8-7.8L497.3,78.7z"/> <path class="st0" d="M62.4,55.9c-5.3,7-12.2,11.4-22.1,11.4c-15.6,0-27-11.7-27-27.5c0-16.1,11.4-27.8,26.5-27.8 c10,0,16.8,4.8,21.3,11.3l8.4-8.8C63.1,5.7,53.3,0,39.7,0C17.1,0,0,15.9,0,39.8c0,23.4,17.1,39.4,40.1,39.4c13.1,0,22-4.9,28.6-12.2 L62.4,55.9z"/> </symbol>
  234. <symbol id="navbar-control_panel_icon" viewBox="0 0 45 45" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M19.6875 23.4862C19.6885 23.9722 19.4965 24.4388 19.1537 24.7833C18.8109 25.1279 18.3454 25.3222 17.8594 25.3237H3.23438C2.99366 25.3232 2.75539 25.2753 2.53321 25.1827C2.31102 25.09 2.10927 24.9545 1.93949 24.7839C1.7697 24.6132 1.63522 24.4108 1.54373 24.1881C1.45223 23.9655 1.40552 23.727 1.40626 23.4862V3.25498C1.40577 3.01417 1.45271 2.77562 1.54441 2.55295C1.63611 2.33028 1.77077 2.12785 1.9407 1.95722C2.11063 1.7866 2.31251 1.65111 2.5348 1.5585C2.75709 1.46589 2.99545 1.41797 3.23626 1.41748L17.8613 1.44186C18.347 1.44384 18.812 1.63843 19.1544 1.98292C19.4968 2.32741 19.6885 2.79366 19.6875 3.27936V23.4862Z" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M43.5863 12.27C43.5828 12.7516 43.3883 13.212 43.0456 13.5503C42.7028 13.8885 42.2397 14.0768 41.7582 14.0738H27.1332C26.8947 14.0755 26.6582 14.0302 26.4372 13.9405C26.2162 13.8507 26.015 13.7183 25.8453 13.5508C25.6755 13.3833 25.5404 13.1839 25.4477 12.9642C25.355 12.7444 25.3065 12.5085 25.3051 12.27V3.24565C25.308 2.76461 25.5019 2.30442 25.8439 1.96621C26.186 1.62799 26.6484 1.43941 27.1294 1.4419L41.7544 1.41753C42.2365 1.41403 42.7002 1.60205 43.0437 1.94027C43.3872 2.27849 43.5823 2.73924 43.5863 3.22128V12.27Z" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M19.6875 41.7956C19.686 42.0347 19.6375 42.2712 19.5446 42.4915C19.4518 42.7118 19.3164 42.9117 19.1463 43.0797C18.9762 43.2477 18.7747 43.3806 18.5532 43.4707C18.3318 43.5609 18.0947 43.6065 17.8556 43.605L3.23063 43.5806C2.74908 43.5826 2.28644 43.3934 1.94436 43.0545C1.60228 42.7155 1.40873 42.2547 1.40625 41.7731V32.7563C1.40748 32.5175 1.45575 32.2813 1.54831 32.0612C1.64087 31.8412 1.7759 31.6415 1.94569 31.4736C2.11547 31.3057 2.31667 31.173 2.53779 31.0829C2.75892 30.9929 2.99562 30.9473 3.23438 30.9488H17.8594C18.3414 30.9463 18.8047 31.1352 19.1475 31.4742C19.4903 31.8131 19.6845 32.2742 19.6875 32.7563V41.7956Z" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M27.1349 43.605C26.894 43.6045 26.6555 43.5565 26.433 43.4638C26.2106 43.3711 26.0087 43.2354 25.8387 43.0646C25.6688 42.8937 25.5341 42.6911 25.4426 42.4682C25.351 42.2453 25.3042 42.0066 25.3049 41.7656V21.5381C25.3042 21.2973 25.3509 21.0587 25.4424 20.8359C25.5338 20.6132 25.6683 20.4106 25.8381 20.2398C26.0078 20.069 26.2095 19.9333 26.4317 19.8405C26.6539 19.7476 26.8923 19.6995 27.1331 19.6987H41.7581C41.9989 19.6995 42.2372 19.7476 42.4594 19.8405C42.6816 19.9333 42.8833 20.069 43.0531 20.2398C43.2228 20.4106 43.3573 20.6132 43.4488 20.8359C43.5402 21.0587 43.5869 21.2973 43.5862 21.5381V41.7412C43.5872 42.2271 43.3955 42.6935 43.0532 43.0383C42.7109 43.3831 42.2458 43.5781 41.7599 43.5806L27.1349 43.605Z" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </symbol>
  235. <symbol id="navbar-community_icon" viewBox="0 0 45 45" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0)"> <path d="M12.6562 10.5469C12.6562 9.85155 12.8624 9.17184 13.2487 8.5937C13.635 8.01556 14.1841 7.56495 14.8265 7.29886C15.4689 7.03277 16.1758 6.96315 16.8577 7.0988C17.5397 7.23445 18.1661 7.56929 18.6578 8.06095C19.1495 8.55262 19.4843 9.17905 19.6199 9.86101C19.7556 10.543 19.686 11.2499 19.4199 11.8922C19.1538 12.5346 18.7032 13.0837 18.1251 13.47C17.5469 13.8563 16.8672 14.0625 16.1719 14.0625" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M16.1719 18.2812C16.0328 18.2812 15.8969 18.3225 15.7812 18.3997C15.6656 18.477 15.5755 18.5868 15.5223 18.7153C15.4691 18.8438 15.4551 18.9852 15.4823 19.1215C15.5094 19.2579 15.5764 19.3832 15.6747 19.4816C15.773 19.5799 15.8983 19.6469 16.0347 19.674C16.1711 19.7011 16.3125 19.6872 16.4409 19.634C16.5694 19.5808 16.6792 19.4906 16.7565 19.375C16.8338 19.2594 16.875 19.1234 16.875 18.9844C16.875 18.7979 16.8009 18.6191 16.6691 18.4872C16.5372 18.3553 16.3584 18.2812 16.1719 18.2812Z" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M32.3438 4.21875V12.6562" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M29.5312 1.40625C30.2772 1.40625 30.9925 1.70257 31.52 2.23001C32.0474 2.75746 32.3438 3.47283 32.3438 4.21875" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M4.21875 1.40625H29.5312" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M1.40625 4.21875C1.40625 3.47283 1.70257 2.75746 2.23001 2.23001C2.75746 1.70257 3.47283 1.40625 4.21875 1.40625" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M1.40625 23.9062V4.21875" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M4.21875 26.7188C3.47283 26.7187 2.75746 26.4224 2.23001 25.895C1.70257 25.3675 1.40625 24.6522 1.40625 23.9062" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M9.84375 26.7188H4.21875" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M9.84375 35.1562V26.7188" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M15.4688 30.9375L9.84375 35.1562" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M43.5938 35.1562H37.9688V43.5938L29.5312 35.1562H21.0938V18.2812H43.5938V35.1562Z" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> <path d="M32.3438 23.9062V29.5312" stroke="#0069FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> </g> <defs> <clipPath id="clip0"> <rect width="45" height="45" fill="white"/> </clipPath> </defs> </symbol>
  236. <symbol id="navbar-search" viewBox="0 0 16 16" fill="currentColor"><path fill-rule="evenodd" d="M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"></path></symbol>
  237. <symbol id="navbar-logomark" viewBox="65.2 173.5 180 180" fill="currentColor"><path d="M155.2,351.7v-34.2c36.2,0,64.3-35.9,50.4-74c-5.1-14.1-16.4-25.4-30.5-30.5c-38.1-13.8-74,14.2-74,50.4l0,0H67c0-57.7,55.8-102.7,116.3-83.8c26.4,8.3,47.5,29.3,55.7,55.7C257.9,295.9,213,351.7,155.2,351.7z"/> <polygon points="155.3,317.6 121.3,317.6 121.3,283.6 121.3,283.6 155.3,283.6 155.3,283.6"/> <polygon points="121.3,343.8 95.1,343.8 95.1,343.8 95.1,317.6 121.3,317.6"/> <path d="M95.1,317.6H73.2l0,0v-21.9l0,0h21.9l0,0V317.6z"/></symbol>
  238. <symbol id="navbar-hubforgood" viewBox="6 6 30 30" width="30" height="30" fill="none" stroke="currentColor" stroke-width="1.5"><circle class="cls-3" cx="21" cy="21.03" r="8.92"/><path class="cls-3" d="M12.08,21a8.94,8.94,0,0,1,8.6-8.92"/><path class="cls-3" d="M29.92,21a9.18,9.18,0,0,1-2.61,6.37A9,9,0,0,1,20.75,30"/><path class="cls-3" d="M21,25.36S16.35,22.69,16.35,20a2.3,2.3,0,0,1,4.59,0h0a2.28,2.28,0,0,1,2.29-2.29A2.25,2.25,0,0,1,25.52,20C25.65,22.69,21,25.36,21,25.36Z"/><path class="cls-3" d="M7.43,20.84A13.49,13.49,0,0,1,20.68,7.46"/><path class="cls-3" d="M34.57,20.91a13.57,13.57,0,0,1-3.95,9.68,13.35,13.35,0,0,1-9.68,3.95"/><path class="cls-3" d="M20.87,34.6a13.42,13.42,0,0,1-9.49-4,13.64,13.64,0,0,1-4-9.81l4.65.13a8.94,8.94,0,0,0,2.61,6.31,9.09,9.09,0,0,0,6.06,2.61Z"/><path class="cls-3" d="M29.92,21a9.06,9.06,0,0,0-2.61-6.31,8.89,8.89,0,0,0-6.63-2.61V7.4a13.76,13.76,0,0,1,9.88,3.95,13.42,13.42,0,0,1,3.95,9.49Z"/></symbol>
  239. <symbol id="navbar-write4do" viewBox="0 0 30 30" fill="none" stroke="currentColor"> <path d="M16.3063 17.67L11.6663 18.3338L12.3288 13.6925L24.2613 1.76002C24.7887 1.23257 25.5041 0.936249 26.25 0.936249C26.6194 0.936249 26.9851 1.009 27.3263 1.15034C27.6675 1.29168 27.9776 1.49885 28.2388 1.76002C28.4999 2.02118 28.7071 2.33123 28.8484 2.67246C28.9898 3.01369 29.0625 3.37942 29.0625 3.74877C29.0625 4.11811 28.9898 4.48384 28.8484 4.82507C28.7071 5.1663 28.4999 5.47635 28.2388 5.73752L16.3063 17.67Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> <path d="M22.935 3.08624L26.9125 7.06374" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> <path d="M23.4375 17.8125V27.1875C23.4375 27.6848 23.24 28.1617 22.8883 28.5133C22.5367 28.865 22.0598 29.0625 21.5625 29.0625H2.8125C2.31522 29.0625 1.83831 28.865 1.48667 28.5133C1.13504 28.1617 0.9375 27.6848 0.9375 27.1875V8.4375C0.9375 7.94022 1.13504 7.46331 1.48667 7.11167C1.83831 6.76004 2.31522 6.5625 2.8125 6.5625H12.1875" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> </symbol>
  240. <symbol id="navbar-hacktoberfest" viewBox="0 0 30 30" fill="none" stroke="currentColor"> <path d="M19.2063 24.9918L16.5714 22.3569V14.4854L13.986 17.0708V23.5755L12.5615 25L11.1371 23.5591V8.44175L10.7419 8.04652L8.93042 9.8662L8 8.94401L11.9358 5.00823L11.944 5.01647L12.1005 5.16468L13.9778 7.04199V13.8431L16.5632 11.2577V8.42528L15.2705 7.12433L17.3948 5L19.4286 7.03376V20.9572L20.4249 21.9535L21.6352 20.7431L22.5492 21.6571L19.2063 24.9918Z" fill="currentcolor"/> <rect x="0.75" y="0.75" width="28.5" height="28.5" rx="2.25" stroke-width="1.5" stroke="currentColor"/> </symbol>
  241. <symbol id="navbar-build" viewBox="0 0 16 16" fill="none" stroke="currentColor"> <path d="M1.5 14.5C1.23478 14.5 0.98043 14.3946 0.792893 14.2071C0.605357 14.0196 0.5 13.7652 0.5 13.5V2.57667C0.500879 2.29139 0.614596 2.01804 0.81632 1.81632C1.01804 1.6146 1.29139 1.50088 1.57667 1.5H14.4287C14.7125 1.50088 14.9845 1.61403 15.1852 1.81476C15.386 2.01548 15.4991 2.28747 15.5 2.57133V13.4233C15.4991 13.7086 15.3854 13.982 15.1837 14.1837C14.982 14.3854 14.7086 14.4991 14.4233 14.5H1.5Z" stroke-linecap="round" stroke-linejoin="round"/> <path d="M15.5 4.5H0.5" stroke-linecap="round" stroke-linejoin="round"/> <path d="M11 7.5L13 9.5L11 11.5" stroke-linecap="round" stroke-linejoin="round"/> <path d="M5 7.5L3 9.5L5 11.5" stroke-linecap="round" stroke-linejoin="round"/> <path d="M9 7.5L7 11.5" stroke-linecap="round" stroke-linejoin="round"/> </symbol>
  242. </svg>
  243. </div>
  244. <nav class="navbar" role="navigation" aria-label="Navigation" data-js="global-navbar">
  245. <ul role="menubar" class="utility">
  246. <li role="banner" data-flex="grow" data-show="always" data-js="global-navbar-banner">
  247. </li>
  248. <li role="menuitem">
  249. <a href="/products/">Products</a>
  250. </li>
  251. <li role="menuitem">
  252. <a href="/pricing/">Pricing</a>
  253. </li>
  254. <li role="menuitem" aria-haspopup="true" tabindex="0">
  255. <span class="expander">Docs</span>
  256. <div role="menuitem" class="mini" aria-expanded="false">
  257. <ul role="menu">
  258. <li role="menuitem">
  259. <a href="/docs/">Product Docs</a>
  260. </li>
  261. <li role="menuitem">
  262. <a href="https://developers.digitalocean.com/documentation/">API Docs</a>
  263. </li>
  264. </ul>
  265. </div>
  266. </li>
  267. <li role="menuitem" aria-haspopup="true" tabindex="0">
  268. <span class="expander">Sign in</span>
  269. <div role="menuitem" class="mini" aria-expanded="false">
  270. <header>Sign in to</header>
  271. <ul role="menu">
  272. <li role="menuitem">
  273. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  274. <use xlink:href="#navbar-community_icon"></use>
  275. </svg>
  276. <a id="log-in" href="/community/auth/digitalocean">Community</a>
  277. </li>
  278. <li role="menuitem">
  279. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  280. <use xlink:href="#navbar-control_panel_icon"></use>
  281. </svg>
  282. <a href="https://cloud.digitalocean.com/registrations/new">Control Panel</a>
  283. </li>
  284. </ul>
  285. </div>
  286. </li>
  287. </ul>
  288. <ul role="menubar" class="primary">
  289. <li role="menuitem" data-show="always" class="logo-square">
  290. <a href="https://www.digitalocean.com/">
  291. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" shape-rendering="auto">
  292. <use xlink:href="#navbar-logomark"></use>
  293. </svg>
  294. </a>
  295. </li>
  296. <li role="menuitem" data-show="always">
  297. <a title="DigitalOcean Community Home" class="home" href="/community">
  298. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="120px" height="24px"
  299. shape-rendering="auto">
  300. <use xlink:href="#navbar-community_logo"></use>
  301. </svg>
  302. </a> </li>
  303. <li role="menuitem">
  304. <a data-activatable="true" href="/community/tutorials">Tutorials</a>
  305. </li>
  306. <li role="menuitem">
  307. <a data-activatable="true" href="/community/questions">Questions</a>
  308. </li>
  309. <li role="menuitem" aria-haspopup="true" class="mega_parent" tabindex="0">
  310. <span class="expander">Get Involved</span>
  311. <div role="menuitem" class="mega" aria-expanded="false">
  312. <div class="section column">
  313. <header>Participate</header>
  314. <ul role="menu">
  315. <li role="menuitem">
  316. <a href="https://www.digitalocean.com/community/pages/hub-for-good" class="with_image">
  317. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  318. <use xlink:href="#navbar-hubforgood"></use>
  319. </svg>
  320. <p>
  321. <strong>Hub for Good</strong>
  322. Supporting each other to make an impact
  323. </p>
  324. </a>
  325. </li>
  326. <li role="menuitem">
  327. <a class="with_image" href="/community/pages/write-for-digitalocean">
  328. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  329. <use xlink:href="#navbar-write4do"></use>
  330. </svg>
  331. <p>
  332. <strong>Write for DigitalOcean</strong>
  333. You get paid, we donate to tech non-profits.
  334. </p>
  335. </a> </li>
  336. <li role="menuitem">
  337. <a href="https://hacktoberfest.digitalocean.com" class="with_image">
  338. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  339. <use xlink:href="#navbar-hacktoberfest"></use>
  340. </svg>
  341. <p>
  342. <strong>Hacktoberfest</strong>
  343. Contribute to Open Source
  344. </p>
  345. </a>
  346. </li>
  347. </ul>
  348. </div>
  349. <div class="section column">
  350. <header>
  351. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  352. <use xlink:href="#navbar-build"></use>
  353. </svg>
  354. Build with DigitalOcean
  355. </header>
  356. <ul role="menu" class="indent">
  357. <li role="menuitem">
  358. <a title="Community-built tools and integrations that use the DigitalOcean API" href="/community/tools">Community Tools and Integrations</a>
  359. </li>
  360. <li role="menuitem">
  361. <a href="https://www.digitalocean.com/hatch/" title="Build your startup on DigitalOcean.">
  362. Hatch Startup Program
  363. </a>
  364. </li>
  365. <li role="menuitem">
  366. <a href="https://marketplace.digitalocean.com/vendors/"
  367. title="List your open source One-Click Application in the DigitalOcean Marketplace">
  368. Marketplace Partner Program
  369. </a>
  370. </li>
  371. <li role="menuitem">
  372. <a href="https://www.digitalocean.com/partners/solutions-partners/"
  373. title="Easily deploy & modernize your clients’ infrastructures with the Solutions Partner Program">
  374. Solutions Partner Program
  375. </a>
  376. </li>
  377. <li role="menuitem">
  378. <a href="https://www.digitalocean.com/droplets-for-demos/"
  379. title="DigitalOcean credits to fund research for conference and meetup presentations">
  380. Presentation Grants
  381. </a>
  382. </li>
  383. <li role="menuitem">
  384. <a href="https://github.com/digitalocean"
  385. title="View all the open-source projects that DigitalOcean have on GitHub">
  386. DigitalOcean on GitHub
  387. </a>
  388. </li>
  389. </ul>
  390. </div>
  391. </div>
  392. </li>
  393. <li role="menuitem" data-show="mobile" data-flex="grow" class="right">
  394. <a href="javascript:void(0);" data-js="modal_toggle" data-body-class="mobile_nav_expanded">
  395. <span class="icon-menu-thin"></span>
  396. </a>
  397. </li>
  398. <li role="menuitem" data-flex="grow">
  399. <button id="q" class="search_button">
  400. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" shape-rendering="auto"
  401. width="14px" height="14px">
  402. <use xlink:href="#navbar-search"></use>
  403. </svg>
  404. Search DigitalOcean
  405. <kbd>/</kbd>
  406. </button>
  407. </li>
  408. <li role="menuitem">
  409. <a class="button blue-button small-button" href="/community/auth/digitalocean?display=sessionless+register+button">Sign Up</a>
  410. </li>
  411. </ul>
  412. <div class="mobile_nav_bg" data-js="modal_toggle"></div>
  413. <div class="mobile_nav">
  414. <a data-dismiss='modal' aria-label="close" href="javascript:void(0);" data-js="modal_toggle"><span class="icon-close"></span></a>
  415. <div class="mobile_nav_content">
  416. <header>Community</header>
  417. <ul role="menu">
  418. <li role="menuitem">
  419. <a data-activatable="true" href="/community/tutorials">Tutorials</a>
  420. </li>
  421. <li role="menuitem">
  422. <a data-activatable="true" href="/community/questions">Questions</a>
  423. </li>
  424. <li role="menuitem">
  425. <a href="/community/pages/write-for-digitalocean">Write for Us</a>
  426. </li>
  427. <li role="menuitem">
  428. <a href="https://hacktoberfest.digitalocean.com">Hacktoberfest</a>
  429. </li>
  430. <li role="menuitem">
  431. <a href="/community/tools">Tools</a>
  432. </li>
  433. </ul>
  434. <header>Products</header>
  435. <ul role="menu">
  436. <li role="menuitem">
  437. <a href="https://www.digitalocean.com/">Homepage</a>
  438. </li>
  439. <li role="menuitem">
  440. <a href="https://www.digitalocean.com/pricing">Pricing</a>
  441. </li>
  442. <li role="menuitem">
  443. <a href="https://www.digitalocean.com/products">Product Overview</a>
  444. </li>
  445. <li role="menuitem">
  446. <a href="https://marketplace.digitalocean.com/">Marketplace</a>
  447. </li>
  448. </ul>
  449. <header>Customers</header>
  450. <ul role="menu">
  451. <li role="menuitem">
  452. <a href="https://cloud.digitalocean.com/login">Control Panel</a>
  453. </li>
  454. <li role="menuitem">
  455. <a href="https://www.digitalocean.com/docs/">Documentation</a>
  456. </li>
  457. <li role="menuitem">
  458. <a href="https://www.digitalocean.com/company/contact/#support">Contact Support</a>
  459. </li>
  460. <li role="menuitem">
  461. <a href="https://www.digitalocean.com/company/contact/sales/">Contact Sales</a>
  462. </li>
  463. </ul>
  464. <ul role="menu">
  465. <li role="menuitem" class="mobile-log-in">
  466. <a id="log-in" href="/community/auth/digitalocean">Sign In</a>
  467. </li>
  468. </ul>
  469. </div>
  470. </div>
  471. </nav>
  472. <header>
  473. <div class="legacy-header ">
  474. <div class="flash-container">
  475. </div>
  476. <div class="wrapper">
  477. </div>
  478. </div>
  479. </header>
  480. <div class='wrapper layout-wrapper'>
  481. <div class="section-content section-content-growable content Tutorial-content content-has-mobile-image">
  482. <img alt="How To Install and Use Docker on Debian 10" title="How To Install and Use Docker on Debian 10" class="tutorial-image-mobile" src="https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/tutorials/images/large/Docker_Install_mostov_twitter-_-facebook-2.png?1562602024" />
  483. <div class="container tutorial-header">
  484. <div class="featured-items-right-bar">
  485. <h3>Related</h3>
  486. <a href="/community/tutorials/how-to-centralize-logs-with-journald-on-debian-10">
  487. <div class="featured-item-regular" data-js="tutorial">
  488. How To Centralize Logs With Journald on Debian 10
  489. <span class="featured-item-category">
  490. <img width="14" height="14" alt="Tutorial" src="/assets/community/tutorials/featured-item-tutorial-icon-bce4d5cc06536a907c48f6663a93392cdf6c5f30677b48439d1164c89fb71ad1.png" />
  491. Tutorial
  492. </span>
  493. </div>
  494. </a> <a href="/community/tutorials/how-to-install-discourse-on-ubuntu-20-04">
  495. <div class="featured-item-regular" data-js="tutorial">
  496. How To Install Discourse on Ubuntu 20.04
  497. <span class="featured-item-category">
  498. <img width="14" height="14" alt="Tutorial" src="/assets/community/tutorials/featured-item-tutorial-icon-bce4d5cc06536a907c48f6663a93392cdf6c5f30677b48439d1164c89fb71ad1.png" />
  499. Tutorial
  500. </span>
  501. </div>
  502. </a> </div>
  503. <img alt="How To Install and Use Docker on Debian 10" title="How To Install and Use Docker on Debian 10" class="tutorial-image" src="https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/tutorials/images/large/Docker_Install_mostov_twitter-_-facebook-2.png?1562602024" />
  504. <h4 class="eyebrow">Tutorial</h4>
  505. <h1 class="content-title Tutorial-header">How To Install and Use Docker on Debian 10</h1>
  506. <span class="meta-section tags">
  507. <a class="tag" href="/community/tags/docker">Docker</a><a class="tag" href="/community/tags/debian-10">Debian 10</a>
  508. </span>
  509. <div class="tutorial-authors-translations">
  510. <div class="tutorial-authors">
  511. <div class="component-collaborators-container">
  512. <ul class="component-collaborators-content">
  513. <li class="collaborator-byline-avatar">
  514. <a href="/community/users/bhogan">
  515. <div class="mod-avatar mod-avatar-large"><img alt="bhogan" class="avatar avatar-large" src="https://secure.gravatar.com/avatar/d753bf40d7283f16ec0db2c9b0d18b58?secure=true&d=identicon" width="80" height="80" /><span class="mod-star" title="MOD" data-toggle="tooltip" data-container="body"><span class="mod-star-icon"></span></span></div>
  516. </a> </li>
  517. <li class="collaborators-byline-data">
  518. <p class="names">By <a href="/community/users/bhogan">Brian Hogan</a></p>
  519. <span class="meta-section date-views">
  520. <span class="meta-section timestamp"><span class="tutorial-date-text">Posted</span><span class="tutorial-date">July 8, 2019</span></span>
  521. <span class="meta-section pageviews"><span class="icon icon-eye v-mid"></span><span class="views-count v-mid">71.5k</span><span class="sr-only"> views</span></span>
  522. </span>
  523. </li>
  524. </ul>
  525. </div>
  526. </div>
  527. </div>
  528. </div>
  529. <div class="container versioned-tutorial-group-navigation">
  530. <h5 class="versioned-tutorial-group-navigation__heading">
  531. Not using Debian 10?
  532. <br/>
  533. <small>
  534. Choose a different version or distribution.
  535. </small>
  536. </h5>
  537. <select name="distribution_version" id="distribution_version" autocomplete="off" class="large-chosen-dropdown"><option value="/community/tutorials/how-to-use-ansible-to-install-and-set-up-docker-on-ubuntu-18-04">Automated Ansible</option>
  538. <option value="/community/tutorials/how-to-install-and-use-docker-on-centos-7">CentOS 7</option>
  539. <option value="/community/tutorials/how-to-install-and-use-docker-on-debian-9">Debian 9</option>
  540. <option selected="selected" value="/community/tutorials/how-to-install-and-use-docker-on-debian-10">Debian 10</option>
  541. <option value="/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04">Ubuntu 20.04</option>
  542. <option value="/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04">Ubuntu 18.04</option>
  543. <option value="/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04">Ubuntu 16.04</option></select>
  544. </div>
  545. <div class="content-body tutorial-content" data-growable-markdown>
  546. <h3 id="introduction">Introduction</h3>
  547. <p><a href="https://www.docker.com/">Docker</a> is an application that simplifies the process of managing application processes in <em>containers</em>. Containers let you run your applications in resource-isolated processes. They&rsquo;re similar to virtual machines, but containers are more portable, more resource-friendly, and more dependent on the host operating system. </p>
  548. <p>For a detailed introduction to the different components of a Docker container, check out <a href="https://www.digitalocean.com/community/tutorials/the-docker-ecosystem-an-introduction-to-common-components">The Docker Ecosystem: An Introduction to Common Components</a>.</p>
  549. <p>In this tutorial, you&rsquo;ll install and use Docker Community Edition (CE) on Debian 10. You&rsquo;ll install Docker itself, work with containers and images, and push an image to a Docker Repository.</p>
  550. <h2 id="prerequisites">Prerequisites</h2>
  551. <p>To follow this tutorial, you will need the following:</p>
  552. <ul>
  553. <li>One Debian 10 server set up by following <a href="https://www.digitalocean.com/community/tutorials/initial-server-setup-with-debian-10">the Debian 10 initial server setup guide</a>, including a sudo non-root user and a firewall.</li>
  554. <li>An account on <a href="https://hub.docker.com/">Docker Hub</a> if you wish to create your own images and push them to Docker Hub, as shown in Steps 7 and 8. </li>
  555. </ul>
  556. <h2 id="step-1-—-installing-docker">Step 1 — Installing Docker</h2>
  557. <p>The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we&rsquo;ll install Docker from the official Docker repository. To do that, we&rsquo;ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package.</p>
  558. <p>First, update your existing list of packages:</p>
  559. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo apt update
  560. </li></ul></code></pre>
  561. <p>Next, install a few prerequisite packages which let <code>apt</code> use packages over HTTPS:</p>
  562. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
  563. </li></ul></code></pre>
  564. <p>Then add the GPG key for the official Docker repository to your system:</p>
  565. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
  566. </li></ul></code></pre>
  567. <p>Add the Docker repository to APT sources:</p>
  568. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
  569. </li></ul></code></pre>
  570. <p>Next, update the package database with the Docker packages from the newly added repo:</p>
  571. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo apt update
  572. </li></ul></code></pre>
  573. <p>Make sure you are about to install from the Docker repo instead of the default Debian repo:</p>
  574. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">apt-cache policy docker-ce
  575. </li></ul></code></pre>
  576. <p>You&rsquo;ll see output like this, although the version number for Docker may be different:</p>
  577. <div class="code-label " title="Output of apt-cache policy docker-ce">Output of apt-cache policy docker-ce</div><pre class="code-pre "><code>ocker-ce:
  578. Installed: (none)
  579. Candidate: <span class="highlight">5:18.09.7~3-0~debian-buster</span>
  580. Version table:
  581. <span class="highlight">5:18.09.7~3-0~debian-buster</span> 500
  582. 500 https://download.docker.com/linux/debian buster/stable amd64 Packages
  583. </code></pre>
  584. <p>Notice that <code>docker-ce</code> is not installed, but the candidate for installation is from the Docker repository for Debian 10 (<code>buster</code>). </p>
  585. <p>Finally, install Docker:</p>
  586. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo apt install docker-ce
  587. </li></ul></code></pre>
  588. <p>Docker is now installed, the daemon started, and the process enabled to start on boot. Check that it&rsquo;s running:</p>
  589. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo systemctl status docker
  590. </li></ul></code></pre>
  591. <p>The output will be similar to the following, showing that the service is active and running:</p>
  592. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>● docker.service - Docker Application Container Engine
  593. Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
  594. Active: <span class="highlight">active</span> (running) since Mon 2019-07-08 15:11:19 UTC; 58s ago
  595. Docs: https://docs.docker.com
  596. Main PID: 5709 (dockerd)
  597. Tasks: 8
  598. Memory: 31.6M
  599. CGroup: /system.slice/docker.service
  600. └─5709 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
  601. </code></pre>
  602. <p>Installing Docker gives you not just the Docker service (daemon) but also the <code>docker</code> command line utility, or the Docker client. We&rsquo;ll explore how to use the <code>docker</code> command later in this tutorial.</p>
  603. <h2 id="step-2-—-executing-the-docker-command-without-sudo-optional">Step 2 — Executing the Docker Command Without Sudo (Optional)</h2>
  604. <p>By default, the <code>docker</code> command can only be run the <strong>root</strong> user or by a user in the <strong>docker</strong> group, which is automatically created during Docker&rsquo;s installation process. If you attempt to run the <code>docker</code> command without prefixing it with <code>sudo</code> or without being in the <strong>docker</strong> group, you&rsquo;ll get an output like this:</p>
  605. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
  606. See 'docker run --help'.
  607. </code></pre>
  608. <p>If you want to avoid typing <code>sudo</code> whenever you run the <code>docker</code> command, add your username to the <code>docker</code> group:</p>
  609. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo usermod -aG docker ${USER}
  610. </li></ul></code></pre>
  611. <p>To apply the new group membership, log out of the server and back in, or type the following:</p>
  612. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">su - ${USER}
  613. </li></ul></code></pre>
  614. <p>You will be prompted to enter your user&rsquo;s password to continue. </p>
  615. <p>Confirm that your user is now added to the <strong>docker</strong> group by typing:</p>
  616. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">id -nG
  617. </li></ul></code></pre><pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>sammy sudo <span class="highlight">docker</span>
  618. </code></pre>
  619. <p>If you need to add a user to the <code>docker</code> group that you&rsquo;re not logged in as, declare that username explicitly using:</p>
  620. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">sudo usermod -aG docker <span class="highlight">username</span>
  621. </li></ul></code></pre>
  622. <p>The rest of this article assumes you are running the <code>docker</code> command as a user in the <strong>docker</strong> group. If you choose not to, please prepend the commands with <code>sudo</code>.</p>
  623. <p>Let&rsquo;s explore the <code>docker</code> command next.</p>
  624. <h2 id="step-3-—-using-the-docker-command">Step 3 — Using the Docker Command</h2>
  625. <p>Using <code>docker</code> consists of passing it a chain of options and commands followed by arguments. The syntax takes this form:</p>
  626. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker [option] [command] [arguments]
  627. </li></ul></code></pre>
  628. <p>To view all available subcommands, type:</p>
  629. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker
  630. </li></ul></code></pre>
  631. <p>As of Docker 18, the complete list of available subcommands includes:</p>
  632. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>attach Attach local standard input, output, and error streams to a running container
  633. build Build an image from a Dockerfile
  634. commit Create a new image from a container's changes
  635. cp Copy files/folders between a container and the local filesystem
  636. create Create a new container
  637. diff Inspect changes to files or directories on a container's filesystem
  638. events Get real time events from the server
  639. exec Run a command in a running container
  640. export Export a container's filesystem as a tar archive
  641. history Show the history of an image
  642. images List images
  643. import Import the contents from a tarball to create a filesystem image
  644. info Display system-wide information
  645. inspect Return low-level information on Docker objects
  646. kill Kill one or more running containers
  647. load Load an image from a tar archive or STDIN
  648. login Log in to a Docker registry
  649. logout Log out from a Docker registry
  650. logs Fetch the logs of a container
  651. pause Pause all processes within one or more containers
  652. port List port mappings or a specific mapping for the container
  653. ps List containers
  654. pull Pull an image or a repository from a registry
  655. push Push an image or a repository to a registry
  656. rename Rename a container
  657. restart Restart one or more containers
  658. rm Remove one or more containers
  659. rmi Remove one or more images
  660. run Run a command in a new container
  661. save Save one or more images to a tar archive (streamed to STDOUT by default)
  662. search Search the Docker Hub for images
  663. start Start one or more stopped containers
  664. stats Display a live stream of container(s) resource usage statistics
  665. stop Stop one or more running containers
  666. tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  667. top Display the running processes of a container
  668. unpause Unpause all processes within one or more containers
  669. update Update configuration of one or more containers
  670. version Show the Docker version information
  671. wait Block until one or more containers stop, then print their exit codes
  672. </code></pre>
  673. <p>To view the options available to a specific command, type:</p>
  674. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker <span class="highlight">docker-subcommand</span> --help
  675. </li></ul></code></pre>
  676. <p>To view system-wide information about Docker, use:</p>
  677. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker info
  678. </li></ul></code></pre>
  679. <p>Let&rsquo;s explore some of these commands. We&rsquo;ll start by working with images.</p>
  680. <h2 id="step-4-—-working-with-docker-images">Step 4 — Working with Docker Images</h2>
  681. <p>Docker containers are built from Docker images. By default, Docker pulls these images from <a href="https://hub.docker.com">Docker Hub</a>, a Docker registry managed by Docker, the company behind the Docker project. Anyone can host their Docker images on Docker Hub, so most applications and Linux distributions you&rsquo;ll need will have images hosted there.</p>
  682. <p>To check whether you can access and download images from Docker Hub, type:</p>
  683. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker run hello-world
  684. </li></ul></code></pre>
  685. <p>The output will indicate that Docker in working correctly:</p>
  686. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>Unable to find image 'hello-world:latest' locally
  687. latest: Pulling from library/hello-world
  688. 1b930d010525: Pull complete
  689. Digest: sha256:41a65640635299bab090f783209c1e3a3f11934cf7756b09cb2f1e02147c6ed8
  690. Status: Downloaded newer image for hello-world:latest
  691. Hello from Docker!
  692. This message shows that your installation appears to be working correctly.
  693. ...
  694. </code></pre>
  695. <p>Docker was initially unable to find the <code>hello-world</code> image locally, so it downloaded the image from Docker Hub, which is the default repository. Once the image downloaded, Docker created a container from the image and the application within the container executed, displaying the message.</p>
  696. <p>You can search for images available on Docker Hub by using the <code>docker</code> command with the <code>search</code> subcommand. For example, to search for the Ubuntu image, type:</p>
  697. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker search ubuntu
  698. </li></ul></code></pre>
  699. <p>The script will crawl Docker Hub and return a listing of all images whose name match the search string. In this case, the output will be similar to this:</p>
  700. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>NAME DESCRIPTION STARS OFFICIAL AUTOMATED
  701. ubuntu Ubuntu is a Debian-based Linux operating sys&hellip; 9704 [OK]
  702. dorowu/ubuntu-desktop-lxde-vnc Docker image to provide HTML5 VNC interface &hellip; 319 [OK]
  703. rastasheep/ubuntu-sshd Dockerized SSH service, built on top of offi&hellip; 224 [OK]
  704. consol/ubuntu-xfce-vnc Ubuntu container with "headless" VNC session&hellip; 183 [OK]
  705. ubuntu-upstart Upstart is an event-based replacement for th&hellip; 99 [OK]
  706. ansible/ubuntu14.04-ansible Ubuntu 14.04 LTS with ansible 97 [OK]
  707. neurodebian NeuroDebian provides neuroscience research s&hellip; 57 [OK]
  708. 1and1internet/ubuntu-16-nginx-php-phpmyadmin-mysql-5 ubuntu-16-nginx-php-phpmyadmin-mysql-5 50 [OK]
  709. ubuntu
  710. ...
  711. </code></pre>
  712. <p>In the <strong>OFFICIAL</strong> column, <strong>OK</strong> indicates an image built and supported by the company behind the project. Once you&rsquo;ve identified the image that you would like to use, you can download it to your computer using the <code>pull</code> subcommand.</p>
  713. <p>Execute the following command to download the official <code>ubuntu</code> image to your computer:</p>
  714. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker pull ubuntu
  715. </li></ul></code></pre>
  716. <p>You&rsquo;ll see the following output:</p>
  717. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>Using default tag: latest
  718. latest: Pulling from library/ubuntu
  719. 5b7339215d1d: Pull complete
  720. 14ca88e9f672: Pull complete
  721. a31c3b1caad4: Pull complete
  722. b054a26005b7: Pull complete
  723. Digest: sha256:9b1702dcfe32c873a770a32cfd306dd7fc1c4fd134adfb783db68defc8894b3c
  724. Status: Downloaded newer image for ubuntu:latest
  725. </code></pre>
  726. <p>After an image has been downloaded, you can then run a container using the downloaded image with the <code>run</code> subcommand. As you saw with the <code>hello-world</code> example, if an image has not been downloaded when <code>docker</code> is executed with the <code>run</code> subcommand, the Docker client will first download the image, then run a container using it.</p>
  727. <p>To see the images that have been downloaded to your computer, type:</p>
  728. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker images
  729. </li></ul></code></pre>
  730. <p>The output should look similar to the following:</p>
  731. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>REPOSITORY TAG IMAGE ID CREATED SIZE
  732. ubuntu latest 4c108a37151f 2 weeks ago 64.2MB
  733. hello-world latest fce289e99eb9 6 months ago 1.84kB
  734. </code></pre>
  735. <p>As you&rsquo;ll see later in this tutorial, images that you use to run containers can be modified and used to generate new images, which may then be uploaded (<em>pushed</em> is the technical term) to Docker Hub or other Docker registries.</p>
  736. <p>Let&rsquo;s look at how to run containers in more detail.</p>
  737. <h2 id="step-5-—-running-a-docker-container">Step 5 — Running a Docker Container</h2>
  738. <p>The <code>hello-world</code> container you ran in the previous step is an example of a container that runs and exits after emitting a test message. Containers can be much more useful than that, and they can be interactive. After all, they are similar to virtual machines, only more resource-friendly.</p>
  739. <p>As an example, let&rsquo;s run a container using the latest image of Ubuntu. The combination of the <strong>-i</strong> and <strong>-t</strong> switches gives you interactive shell access into the container:</p>
  740. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker run -it ubuntu
  741. </li></ul></code></pre>
  742. <p>Your command prompt should change to reflect the fact that you&rsquo;re now working inside the container and should take this form:</p>
  743. <pre class="code-pre second-environment"><code><div class="secondary-code-label " title="Output">Output</div>root@d9b100f2f636:/#
  744. </code></pre>
  745. <p>Note the container id in the command prompt. In this example, it is <code>d9b100f2f636</code>. You&rsquo;ll need that container ID later to identify the container when you want to remove it.</p>
  746. <p>Now you can run any command inside the container. For example, let&rsquo;s update the package database inside the container. You don&rsquo;t need to prefix any command with <code>sudo</code>, because you&rsquo;re operating inside the container as the <strong>root</strong> user:</p>
  747. <pre class="code-pre custom_prefix prefixed second-environment"><code><ul class="prefixed"><li class="line" prefix="root@d9b100f2f636:/#">apt update
  748. </li></ul></code></pre>
  749. <p>Then install any application in it. Let&rsquo;s install Node.js:</p>
  750. <pre class="code-pre custom_prefix prefixed second-environment"><code><ul class="prefixed"><li class="line" prefix="root@d9b100f2f636:/#">apt install nodejs
  751. </li></ul></code></pre>
  752. <p>This installs Node.js in the container from the official Ubuntu repository. When the installation finishes, verify that Node.js is installed:</p>
  753. <pre class="code-pre custom_prefix prefixed second-environment"><code><ul class="prefixed"><li class="line" prefix="root@d9b100f2f636:/#">node -v
  754. </li></ul></code></pre>
  755. <p>You&rsquo;ll see the version number displayed in your terminal:</p>
  756. <pre class="code-pre second-environment"><code><div class="secondary-code-label " title="Output">Output</div>v8.10.0
  757. </code></pre>
  758. <p>Any changes you make inside the container only apply to that container. </p>
  759. <p>To exit the container, type <code>exit</code> at the prompt.</p>
  760. <p>Let&rsquo;s look at managing the containers on our system next.</p>
  761. <h2 id="step-6-—-managing-docker-containers">Step 6 — Managing Docker Containers</h2>
  762. <p>After using Docker for a while, you&rsquo;ll have many active (running) and inactive containers on your computer. To view the <strong>active ones</strong>, use:</p>
  763. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker ps
  764. </li></ul></code></pre>
  765. <p>You will see output similar to the following:</p>
  766. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>CONTAINER ID IMAGE COMMAND CREATED
  767. </code></pre>
  768. <p>In this tutorial, you started two containers; one from the <code>hello-world</code> image and another from the <code>ubuntu</code> image. Both containers are no longer running, but they still exist on your system.</p>
  769. <p>To view all containers — active and inactive, run <code>docker ps</code> with the <code>-a</code> switch:</p>
  770. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker ps -a
  771. </li></ul></code></pre>
  772. <p>You&rsquo;ll see output similar to this:</p>
  773. <pre class="code-pre "><code>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  774. d42d0bbfbd35 ubuntu "/bin/bash" About a minute ago Exited (0) 20 seconds ago friendly_volhard
  775. 0740844d024c hello-world "/hello" 3 minutes ago Exited (0) 3 minutes ago elegant_neumann
  776. </code></pre>
  777. <p>To view the latest container you created, pass it the <code>-l</code> switch:</p>
  778. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker ps -l
  779. </li></ul></code></pre><pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  780. </li><li class="line" prefix="$">d42d0bbfbd35 ubuntu "/bin/bash" About a minute ago Exited (0) 34 seconds ago friendly_volhard
  781. </li></ul></code></pre>
  782. <p>To start a stopped container, use <code>docker start</code>, followed by the container ID or the container&rsquo;s name. Let&rsquo;s start the Ubuntu-based container with the ID of <code>d9b100f2f636</code>:</p>
  783. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker start <span class="highlight">d42d0bbfbd35</span>
  784. </li></ul></code></pre>
  785. <p>The container will start, and you can use <code>docker ps</code> to see its status:</p>
  786. <pre class="code-pre "><code>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  787. d42d0bbfbd35 ubuntu "/bin/bash" About a minute ago Up 8 seconds friendly_volhard
  788. </code></pre>
  789. <p>To stop a running container, use <code>docker stop</code>, followed by the container ID or name. This time, we&rsquo;ll use the name that Docker assigned the container, which is <code>friendly_volhard</code>:</p>
  790. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker stop <span class="highlight">friendly_volhard</span>
  791. </li></ul></code></pre>
  792. <p>Once you&rsquo;ve decided you no longer need a container anymore, remove it with the <code>docker rm</code> command, again using either the container ID or the name. Use the <code>docker ps -a</code> command to find the container ID or name for the container associated with the <code>hello-world</code> image and remove it. </p>
  793. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker rm <span class="highlight">elegant_neumann</span>
  794. </li></ul></code></pre>
  795. <p>You can start a new container and give it a name using the <code>--name</code> switch. You can also use the <code>--rm</code> switch to create a container that removes itself when it&rsquo;s stopped. See the <code>docker run help</code> command for more information on these options and others.</p>
  796. <p>Containers can be turned into images which you can use to build new containers. Let&rsquo;s look at how that works.</p>
  797. <h2 id="step-7-—-committing-changes-in-a-container-to-a-docker-image">Step 7 — Committing Changes in a Container to a Docker Image</h2>
  798. <p>When you start up a Docker image, you can create, modify, and delete files just like you can with a virtual machine. The changes that you make will only apply to that container. You can start and stop it, but once you destroy it with the <code>docker rm</code> command, the changes will be lost for good. </p>
  799. <p>This section shows you how to save the state of a container as a new Docker image.</p>
  800. <p>After installing Node.js inside the Ubuntu container, you now have a container running off an image, but the container is different from the image you used to create it. But you might want to reuse this Node.js container as the basis for new images later.</p>
  801. <p>Then commit the changes to a new Docker image instance using the following command. </p>
  802. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker commit -m "What you did to the image" -a "Author Name" <span class="highlight">container_id</span> <span class="highlight">repository</span>/<span class="highlight">new_image_name</span>
  803. </li></ul></code></pre>
  804. <p>The <strong>-m</strong> switch is for the commit message that helps you and others know what changes you made, while <strong>-a</strong> is used to specify the author. The <code>container_id</code> is the one you noted earlier in the tutorial when you started the interactive Docker session. Unless you created additional repositories on Docker Hub, the <code>repository</code> is usually your Docker Hub username.</p>
  805. <p>For example, for the user <strong>sammy</strong>, with the container ID of <code>d9b100f2f636</code>, the command would be:</p>
  806. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker commit -m "added Node.js" -a "<span class="highlight">sammy</span>" <span class="highlight">d42d0bbfbd35</span> <span class="highlight">sammy</span>/ubuntu-nodejs
  807. </li></ul></code></pre>
  808. <p>When you <em>commit</em> an image, the new image is saved locally on your computer. Later in this tutorial, you&rsquo;ll learn how to push an image to a Docker registry like Docker Hub so others can access it.</p>
  809. <p>Listing the Docker images again will show the new image, as well as the old one that it was derived from:</p>
  810. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker images
  811. </li></ul></code></pre>
  812. <p>You&rsquo;ll see output like this:</p>
  813. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>REPOSITORY TAG IMAGE ID CREATED SIZE
  814. <span class="highlight">sammy/ubuntu-nodejs</span> latest d441c62350b4 10 seconds ago 152MB
  815. ubuntu latest 4c108a37151f 2 weeks ago 64.2MB
  816. hello-world latest fce289e99eb9 6 months ago 1.84kB
  817. </code></pre>
  818. <p>In this example, <code>ubuntu-nodejs</code> is the new image, which was derived from the existing <code>ubuntu</code> image from Docker Hub. The size difference reflects the changes that were made. And in this example, the change was that NodeJS was installed. So next time you need to run a container using Ubuntu with NodeJS pre-installed, you can just use the new image. </p>
  819. <p>You can also build Images from a <code>Dockerfile</code>, which lets you automate the installation of software in a new image. However, that&rsquo;s outside the scope of this tutorial.</p>
  820. <p>Now let&rsquo;s share the new image with others so they can create containers from it.</p>
  821. <h2 id="step-8-—-pushing-docker-images-to-a-docker-repository">Step 8 — Pushing Docker Images to a Docker Repository</h2>
  822. <p>The next logical step after creating a new image from an existing image is to share it with a select few of your friends, the whole world on Docker Hub, or other Docker registry that you have access to. To push an image to Docker Hub or any other Docker registry, you must have an account there.</p>
  823. <p>This section shows you how to push a Docker image to Docker Hub. To learn how to create your own private Docker registry, check out <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04">How To Set Up a Private Docker Registry on Ubuntu 14.04</a>.</p>
  824. <p>To push your image, first log into Docker Hub. </p>
  825. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker login -u <span class="highlight">docker-registry-username</span>
  826. </li></ul></code></pre>
  827. <p>You&rsquo;ll be prompted to authenticate using your Docker Hub password. If you specified the correct password, authentication should succeed. </p>
  828. <span class='note'><p>
  829. <strong>Note:</strong> If your Docker registry username is different from the local username you used to create the image, you will have to tag your image with your registry username. For the example given in the last step, you would type:</p>
  830. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker tag <span class="highlight">sammy</span>/ubuntu-nodejs <span class="highlight">docker-registry-username</span>/ubuntu-nodejs
  831. </li></ul></code></pre>
  832. <p></p></span>
  833. <p>Then you may push your own image using:</p>
  834. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker push <span class="highlight">docker-registry-username</span>/<span class="highlight">docker-image-name</span>
  835. </li></ul></code></pre>
  836. <p>To push the <code>ubuntu-nodejs</code> image to the <strong>sammy</strong> repository, the command would be:</p>
  837. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker push <span class="highlight">sammy</span>/<span class="highlight">ubuntu-nodejs</span>
  838. </li></ul></code></pre>
  839. <p>The process may take some time to complete as it uploads the images, but when completed, the output will look like this:</p>
  840. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>The push refers to a repository [docker.io/<span class="highlight">sammy</span>/ubuntu-nodejs]
  841. e3fbbfb44187: Pushed
  842. 5f70bf18a086: Pushed
  843. a3b5c80a4eba: Pushed
  844. 7f18b442972b: Pushed
  845. 3ce512daaf78: Pushed
  846. 7aae4540b42d: Pushed
  847. ...
  848. </code></pre>
  849. <p>After pushing an image to a registry, it should be listed on your account&rsquo;s dashboard, like that show in the image below.</p>
  850. <p><img src="https://assets.digitalocean.com/articles/docker_1804/ec2vX3Z.png" alt="New Docker image listing on Docker Hub"></p>
  851. <p>If a push attempt results in an error of this sort, then you likely did not log in:</p>
  852. <pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>The push refers to a repository [docker.io/<span class="highlight">sammy</span>/ubuntu-nodejs]
  853. e3fbbfb44187: Preparing
  854. 5f70bf18a086: Preparing
  855. a3b5c80a4eba: Preparing
  856. 7f18b442972b: Preparing
  857. 3ce512daaf78: Preparing
  858. 7aae4540b42d: Waiting
  859. unauthorized: authentication required
  860. </code></pre>
  861. <p>Log in with <code>docker login</code> and repeat the push attempt. Then verify that it exists on your Docker Hub repository page.</p>
  862. <p>You can now use <code>docker pull <span class="highlight">sammy</span>/<span class="highlight">ubuntu-nodejs</span></code> to pull the image to a new machine and use it to run a new container.</p>
  863. <h2 id="conclusion">Conclusion</h2>
  864. <p>In this tutorial you installed Docker, worked with images and containers, and pushed a modified image to Docker Hub. Now that you know the basics, explore the <a href="https://www.digitalocean.com/community/tags/docker?type=tutorials">other Docker tutorials</a> in the DigitalOcean Community.</p>
  865. </div>
  866. </div>
  867. <div class="tutorial-footer">
  868. <div class='tutorial-footer-details'>
  869. <div class="hsb--container">
  870. <div class="hsb--content">
  871. <div class="hsb--content-main">
  872. <div class="hsb--undo hsb--hide">
  873. <span class="icon icon-helpfulness-upvoted"></span>
  874. <span class="hsb--question">You rated this helpful.</span>
  875. <button name="button" type="submit" class="hsb--button-down hsb--vote-down-js" data-upvotable-type="Tutorial">Undo</button>
  876. </div>
  877. <div class="hsb--flagging-undo hsb--hide">
  878. <span class="icon icon-helpfulness-flag"></span>
  879. <span class="hsb--question">You reported this tutorial.</span>
  880. <button name="button" type="submit" class="hsb--button-down hsb--unflagging-js">Undo</button>
  881. </div>
  882. <div class="hsb--do">
  883. <span class="hsb--question">Was this helpful?</span>
  884. <button name="button" type="submit" class="hsb--button hsb--vote-up-js" id="submit-upvote-report" data-upvotable-id="3039" data-upvotable-type="Tutorial">Yes</button>
  885. <button name="button" type="submit" class="hsb--button hsb--flagging-js" data-url="/community/tutorials/how-to-install-and-use-docker-on-debian-10/flag" data-flaggable-id="3039" data-flag-type="no">No</button>
  886. </div>
  887. <div class="hsb--social-and-comments">
  888. <div class="hsb--social-sharing">
  889. <a target="_blank" class="share-popup" href="http://twitter.com/share?text=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;url=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=twshare">
  890. <span class="icon icon-helpfulness-twitter"></span>
  891. </a>
  892. <a target="_blank" class="share-popup" href="https://www.facebook.com/sharer/sharer.php?u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=fbshare">
  893. <span class="icon icon-helpfulness-facebook"></span>
  894. </a>
  895. <a target="_blank" class="share-popup" href="https://news.ycombinator.com/submitlink?t=How%20To%20Install%20and%20Use%20Docker%20on%20Debian%2010&amp;u=https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10?utm_content=how-to-install-and-use-docker-on-debian-10&amp;utm_medium=community&amp;utm_source=hnshare">
  896. <span class="icon icon-helpfulness-hacker-news"></span>
  897. </a> </div>
  898. <div class="hsb--comment">
  899. <span class="icon icon-helpfulness-comment"></span>
  900. <strong class="amount">4</strong>
  901. </div>
  902. </div>
  903. </div>
  904. </div>
  905. <a class="hsb--flagging-js" data-url="/community/tutorials/how-to-install-and-use-docker-on-debian-10/flag" data-flaggable-id="3039" data-flag-type="report" href="javascript:void(0);">Report an issue</a>
  906. </div>
  907. <div class="component-collaborators-container-footer">
  908. <div class="component-collaborators-content">
  909. <div class="heading">About the authors</div>
  910. <div class="author">
  911. <a href="/community/users/bhogan">
  912. <div class="avatar">
  913. <div class="mod-avatar mod-avatar-large"><img alt="bhogan" class="avatar avatar-large" src="https://secure.gravatar.com/avatar/d753bf40d7283f16ec0db2c9b0d18b58?secure=true&d=identicon" width="80" height="80" /><span class="mod-star" title="MOD" data-toggle="tooltip" data-container="body"><span class="mod-star-icon"></span></span></div>
  914. </div>
  915. </a> <div class="byline-info">
  916. <div class="names">
  917. <a href="/community/users/bhogan">
  918. Brian Hogan
  919. </a> </div>
  920. <p>I manage the Write for DOnations program, write and edit community articles, and make things on the Internet.</p>
  921. </div>
  922. </div>
  923. <div class="editor-translator">
  924. </div>
  925. </div>
  926. </div>
  927. </div>
  928. <div class='related-content'>
  929. <div class='section-content panels'>
  930. <h2>Related</h2>
  931. <ul>
  932. <li title="How To Centralize Logs With Journald on Debian 10">
  933. <a class="panel" href="/community/tutorials/how-to-centralize-logs-with-journald-on-debian-10">
  934. <h6>Tutorial</h6>
  935. <div class="panel-data">
  936. <h5>How To Centralize Logs With Journald on Debian 10</h5>
  937. <p data-clamp>In this guide, you will configure a component of the systemd suite of tools to relay log messages from client systems to a centralized log collection server. You will configure the server and client to use TLS certificates to encrypt the log messages as they are transmitted across insecure networks such as the internet and also to authenticate each other.</p>
  938. </div>
  939. </a>
  940. </li>
  941. <li title="How To Install Discourse on Ubuntu 20.04">
  942. <a class="panel" href="/community/tutorials/how-to-install-discourse-on-ubuntu-20-04">
  943. <h6>Tutorial</h6>
  944. <div class="panel-data">
  945. <h5>How To Install Discourse on Ubuntu 20.04</h5>
  946. <p data-clamp>Discourse is an open-source discussion platform. You can use Discourse as a mailing list, a discussion forum, or a long-form chat room. In this tutorial, you will install Discourse in an isolated environment using Docker on Ubuntu 20.04.</p>
  947. </div>
  948. </a>
  949. </li>
  950. <li title="How To Scale and Secure a Django Application with Docker, Nginx, and Let&#39;s Encrypt">
  951. <a class="panel" href="/community/tutorials/how-to-scale-and-secure-a-django-application-with-docker-nginx-and-let-s-encrypt">
  952. <h6>Tutorial</h6>
  953. <div class="panel-data">
  954. <h5>How To Scale and Secure a Django Application with Docker, Nginx, and Let&#39;s Encrypt</h5>
  955. <p data-clamp>In cloud-based environments, there are multiple ways to scale and secure a Django application. By scaling horizontally, and running several copies of your app, you can build a more fault-tolerant and highly-available system, while also…</p>
  956. </div>
  957. </a>
  958. </li>
  959. <li title="How To Install and Configure Drone on Ubuntu 20.04">
  960. <a class="panel" href="/community/tutorials/how-to-install-and-configure-drone-on-ubuntu-20-04">
  961. <h6>Tutorial</h6>
  962. <div class="panel-data">
  963. <h5>How To Install and Configure Drone on Ubuntu 20.04</h5>
  964. <p data-clamp>In this tutorial, you will set up a Drone CI/CD server for source code on GitHub, add a Docker runner, use Let&#39;s Encrypt to secure your instance, and then create a basic YAML pipeline. You will also encounter options to scale your runner using Drone Autoscaler and to store your logs on an s3-compatible server, such as DigitalOcean Spaces.</p>
  965. </div>
  966. </a>
  967. </li>
  968. </ul>
  969. </div>
  970. </div>
  971. <div class='looking-for-an-answer'>
  972. <div class='section-content'>
  973. <h4>Still looking for an answer?</h4>
  974. <div class="lfa--actions">
  975. <a href="/community/questions/new?tags=Docker%2CDebian+10"
  976. class="lfa--action-box">
  977. <span class="icon icon-look-for-answer-question"></span>
  978. Ask a question
  979. </a>
  980. <a href="javascript:void(0)" class="lfa--action-box use-universal-search-js">
  981. <span class="icon icon-look-for-answer-search-thin"></span>
  982. Search for more help
  983. </a>
  984. </div>
  985. </div>
  986. </div>
  987. </div>
  988. <div class="content-comments">
  989. <div class="section-content">
  990. <div class="tutorial commentable" id="tutorial_3039">
  991. <div class="comments-header">
  992. <h4 class="comments-count">
  993. <span>4 Comments</span>
  994. </h4>
  995. </div>
  996. <div class="response response-form no-avatar">
  997. <div class="js-display-on-error flash error hidden"></div>
  998. <form class="content-form disabled-form" id="new_comment" action="/community/tutorials/how-to-install-and-use-docker-on-debian-10/comments" accept-charset="UTF-8" data-remote="true" method="post"><input name="utf8" type="hidden" value="&#x2713;" />
  999. <textarea name="comment[content]" id="comment_content" placeholder="Leave a comment..." class="js-comment-content tutorial-comment-field" data-markdown="true">
  1000. </textarea>
  1001. <div class="log-in-notice "><a href="/community/auth/digitalocean">Sign In to Comment</a></div>
  1002. <div class='clearfix'></div>
  1003. </form>
  1004. </div>
  1005. <div class="comments">
  1006. <ul class="response-list">
  1007. <a class="js-click-on-load hidden" rel="nofollow" data-remote="true" href="/community/tutorials/how-to-install-and-use-docker-on-debian-10/comments">Load</a>
  1008. </ul>
  1009. <div class='comments-spinner'><div class="spinner spinner-large">
  1010. <div class="bounce1"></div>
  1011. <div class="bounce2"></div>
  1012. <div class="bounce3"></div>
  1013. </div>
  1014. </div>
  1015. </div>
  1016. <div class='load-more-container'></div>
  1017. </div>
  1018. </div>
  1019. </div>
  1020. <div class="creative-commons">
  1021. <a class="creative-commons-image" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"><img rel="license" alt="Creative Commons License" src="/assets/community/creativecommons-027bb7f065acf05ba3c0f84a040d2da641648afc81daa6ff5570301d4998bbb6.png" /></a>
  1022. <div class="license-text">This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.</div>
  1023. </div>
  1024. <div class="clearfix"></div>
  1025. </div>
  1026. <footer>
  1027. <section>
  1028. <a href="https://www.digitalocean.com/community/pages/write-for-digitalocean" class="panel_with_image">
  1029. <div class="photo_wrap">
  1030. <img class="photo" src="https://images.prismic.io/digitalocean/70910e9fdeb57be46aaa209ce8d9b4dc8e117fab_w4do2.jpg?auto=compress,format" alt="">
  1031. </div>
  1032. <span class="heading">Become a contributor</span>
  1033. <p>
  1034. You get paid; we donate to tech nonprofits.
  1035. </p>
  1036. </a>
  1037. <a href="https://www.digitalocean.com/community/newsletter" class="panel_with_image">
  1038. <div class="photo_wrap">
  1039. <img class="photo" src="https://images.prismic.io/digitalocean/ca12c951cc76f33037f3384bba9942545d160d82_iaan_illo.jpg?auto=compress,format" alt="">
  1040. </div>
  1041. <span class="heading">Get our biweekly newsletter</span>
  1042. <p>
  1043. Sign up for Infrastructure as a Newsletter.
  1044. </p>
  1045. </a>
  1046. <a href="https://www.digitalocean.com/community/pages/hub-for-good" class="panel_with_image">
  1047. <div class="photo_wrap">
  1048. <img class="photo" src="https://images.prismic.io/digitalocean/21ab4275-bcf3-42ac-b148-6f81d516ca1d_Twitter_graphic.png?auto=compress,format&amp;rect=0,61,1024,387&amp;w=370&amp;h=140" alt="">
  1049. </div>
  1050. <span class="heading">Hub for Good</span>
  1051. <p>
  1052. Working on improving health and education, reducing inequality, and spurring economic growth? We&#39;d like to help.
  1053. </p>
  1054. </a>
  1055. </section>
  1056. <section class="slim ">
  1057. <span class="heading">Featured on Community</span>
  1058. <a href="https://www.digitalocean.com/community/curriculums/kubernetes-for-full-stack-developers">Kubernetes Course</a>
  1059. <a href="https://www.digitalocean.com/community/tutorial_series/how-to-code-in-python-3">Learn Python 3</a>
  1060. <a href="https://www.digitalocean.com/community/tutorials/machine-learning-projects-python-a-digitalocean-ebook">Machine Learning in Python</a>
  1061. <a href="https://www.digitalocean.com/community/tutorials/how-to-write-your-first-program-in-go">Getting started with Go</a>
  1062. <a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-kubernetes">Intro to Kubernetes</a>
  1063. <hr>
  1064. <span class="heading">DigitalOcean Products</span>
  1065. <a href="https://www.digitalocean.com/products/droplets/">Droplets</a>
  1066. <a href="https://www.digitalocean.com/products/managed-databases/">Managed Databases</a>
  1067. <a href="https://www.digitalocean.com/products/kubernetes/">Managed Kubernetes</a>
  1068. <a href="https://www.digitalocean.com/products/spaces/">Spaces Object Storage</a>
  1069. <a href="https://marketplace.digitalocean.com/">Marketplace</a>
  1070. </section>
  1071. <section class="product">
  1072. <a class="copy" href="/products">
  1073. <h3>Welcome to the developer cloud</h3>
  1074. <p>DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.</p>
  1075. <span class="link_text">Learn More</span>
  1076. </a>
  1077. <div class="feature">
  1078. <a class="img_wrap" href="/products">
  1079. <img class="photo" src="https://images.prismic.io/digitalocean/95c1215227aa7f39f2bd23076de28feb969741c7_cloud.digitalocean.com_projects_63f9252f-652b-4645-9c0c-bee96f2bc503_resources_ic0ce81-2.png?auto=compress,format" alt="DigitalOcean Cloud Control Panel">
  1080. </a>
  1081. </div>
  1082. </section>
  1083. <section class="dark">
  1084. <div class="vlist grow">
  1085. <a href="https://www.digitalocean.com">
  1086. <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50">
  1087. <title>DigitalOcean Homepage</title>
  1088. <g fill="#0080FF" fill-rule="evenodd">
  1089. <path
  1090. d="M24.9153 50v-9.661c10.226 0 18.1638-10.1413 14.2372-20.904-1.4406-3.983-4.6327-7.1751-8.6158-8.6158C19.774 6.921 9.6327 14.8305 9.6327 25.0565H0C0 8.7571 15.7627-3.9548 32.8531 1.3842c7.4576 2.3446 13.418 8.2768 15.7345 15.7344C53.9266 34.2373 41.2429 50 24.9153 50">
  1091. </path>
  1092. <path
  1093. d="M15.339 40.3672h9.6045v-9.6045H15.339zM7.9379 47.7684h7.401v-7.4012H7.938zM1.7514 40.3672H7.938v-6.1864H1.7514z">
  1094. </path>
  1095. </g>
  1096. </svg>
  1097. </a>
  1098. <br><br>
  1099. © <script type="text/javascript">
  1100. document.write(new Date().getFullYear());
  1101. </script> DigitalOcean, LLC. All rights reserved.
  1102. </div>
  1103. <div class="vlist">
  1104. <span class="heading">Company</span>
  1105. <ul>
  1106. <li>
  1107. <a href="https://www.digitalocean.com/about/">About</a>
  1108. </li>
  1109. <li>
  1110. <a href="https://www.digitalocean.com/about/leadership/">Leadership</a>
  1111. </li>
  1112. <li>
  1113. <a href="https://www.digitalocean.com/blog/">Blog</a>
  1114. </li>
  1115. <li>
  1116. <a href="https://www.digitalocean.com/careers/">Careers</a>
  1117. </li>
  1118. <li>
  1119. <a href="https://www.digitalocean.com/partners/">Partners</a>
  1120. </li>
  1121. <li>
  1122. <a href="https://www.digitalocean.com/referral-program/">Referral Program</a>
  1123. </li>
  1124. <li>
  1125. <a href="https://www.digitalocean.com/press/">Press</a>
  1126. </li>
  1127. <li>
  1128. <a href="https://www.digitalocean.com/legal/">Legal</a>
  1129. </li>
  1130. <li>
  1131. <a href="https://www.digitalocean.com/trust/">Security &amp; Trust Center</a>
  1132. </li>
  1133. </ul>
  1134. </div>
  1135. <div class="vlist">
  1136. <span class="heading">Products</span>
  1137. <ul>
  1138. <li>
  1139. <a href="https://www.digitalocean.com/pricing/">Pricing</a>
  1140. </li>
  1141. <li>
  1142. <a href="https://www.digitalocean.com/products/">Products Overview</a>
  1143. </li>
  1144. <li>
  1145. <a href="https://www.digitalocean.com/products/droplets/">Droplets</a>
  1146. </li>
  1147. <li>
  1148. <a href="https://www.digitalocean.com/products/kubernetes/">Kubernetes</a>
  1149. </li>
  1150. <li>
  1151. <a href="https://www.digitalocean.com/products/managed-databases/">Managed Databases</a>
  1152. </li>
  1153. <li>
  1154. <a href="https://www.digitalocean.com/products/spaces/">Spaces</a>
  1155. </li>
  1156. <li>
  1157. <a href="https://www.digitalocean.com/products/marketplace/">Marketplace</a>
  1158. </li>
  1159. <li>
  1160. <a href="https://www.digitalocean.com/products/load-balancer/">Load Balancers</a>
  1161. </li>
  1162. <li>
  1163. <a href="https://www.digitalocean.com/products/block-storage/">Block Storage</a>
  1164. </li>
  1165. <li>
  1166. <a href="https://developers.digitalocean.com/documentation/">API Documentation</a>
  1167. </li>
  1168. <li>
  1169. <a href="https://www.digitalocean.com/docs">Documentation</a>
  1170. </li>
  1171. <li>
  1172. <a href="https://www.digitalocean.com/docs/release-notes/">Release Notes</a>
  1173. </li>
  1174. </ul>
  1175. </div>
  1176. <div class="vlist">
  1177. <span class="heading">Community</span>
  1178. <ul>
  1179. <li>
  1180. <a href="https://www.digitalocean.com/community/tutorials">Tutorials</a>
  1181. </li>
  1182. <li>
  1183. <a href="https://www.digitalocean.com/community/questions">Q&amp;A</a>
  1184. </li>
  1185. <li>
  1186. <a href="https://www.digitalocean.com/community/tools">Tools and Integrations</a>
  1187. </li>
  1188. <li>
  1189. <a href="https://www.digitalocean.com/community/tags">Tags</a>
  1190. </li>
  1191. <li>
  1192. <a href="https://ideas.digitalocean.com/">Product Ideas</a>
  1193. </li>
  1194. <li>
  1195. <a href="https://www.digitalocean.com/write-for-donations/">Write for DigitalOcean</a>
  1196. </li>
  1197. <li>
  1198. <a href="https://www.digitalocean.com/droplets-for-demos/">Presentation Grants</a>
  1199. </li>
  1200. <li>
  1201. <a href="https://www.digitalocean.com/hatch/">Hatch Startup Program</a>
  1202. </li>
  1203. <li>
  1204. <a href="http://store.digitalocean.com/">Shop Swag</a>
  1205. </li>
  1206. <li>
  1207. <a href="https://www.digitalocean.com/research/">Research Program</a>
  1208. </li>
  1209. <li>
  1210. <a href="https://www.digitalocean.com/open-source/">Open Source</a>
  1211. </li>
  1212. <li>
  1213. <a href="https://www.digitalocean.com/community/pages/code-of-conduct">Code of Conduct</a>
  1214. </li>
  1215. </ul>
  1216. </div>
  1217. <div class="vlist">
  1218. <span class="heading">Contact</span>
  1219. <ul>
  1220. <li>
  1221. <a href="https://www.digitalocean.com/support/">Get Support</a>
  1222. </li>
  1223. <li>
  1224. <a href="https://www.digitalocean.com/docs/getting-started/faq/">Trouble Signing In?</a>
  1225. </li>
  1226. <li>
  1227. <a href="https://www.digitalocean.com/company/contact/sales/">Sales</a>
  1228. </li>
  1229. <li>
  1230. <a href="https://www.digitalocean.com/company/contact/#abuse">Report Abuse</a>
  1231. </li>
  1232. <li>
  1233. <a href="https://status.digitalocean.com/">System Status</a>
  1234. </li>
  1235. </ul>
  1236. </div>
  1237. </section>
  1238. </footer>
  1239. <div id='sign-in-modal' class='modal fade mini-modal' style="display: none;">
  1240. <div class='modal-dialog'>
  1241. <div class='modal-content'>
  1242. <div class='modal-header'>
  1243. <h1>Almost there!</h1>
  1244. <a class='close-button' data-dismiss='modal' aria-label="close" href=''><span class='icon icon-close-light'></span></a>
  1245. </div>
  1246. <div class='modal-body'>
  1247. <div class='sign-in-message'>Sign in to your Community account or create a new one below.</div>
  1248. <div class='sign-in-modal-actions'>
  1249. <a class="sign-in-link button blue-button" data-default-url="/community/auth/digitalocean" href="/community/auth/digitalocean">Sign In</a>
  1250. <a class="sign-up-link button blue-button" data-default-url="/community/auth/digitalocean?display=sessionless+register" href="/community/auth/digitalocean?display=sessionless+register">Sign Up</a>
  1251. </div>
  1252. </div>
  1253. </div>
  1254. </div>
  1255. </div>
  1256. <script>
  1257. $(function() {
  1258. createDistroVersionSelection({
  1259. $distro_version: $('#distribution_version'),
  1260. see_more_link: '/community/tutorial_collections/how-to-install-and-use-docker'
  1261. });
  1262. });
  1263. </script>
  1264. <script>
  1265. $(function() {
  1266. window.initHelpfulnessActions(3039, '/community/tutorials/how-to-install-and-use-docker-on-debian-10/flag');
  1267. });
  1268. </script>
  1269. <script>
  1270. $(function() {
  1271. if (!!window.init_sharing) {
  1272. window.init_sharing();
  1273. }
  1274. new window.NewsletterSignup();
  1275. new window.GrowableMarkdown({ target: '[data-growable-markdown]' });
  1276. });
  1277. </script>
  1278. <script type="application/ld+json">
  1279. {"@context":"http://schema.org","@type":"Article","name":"How To Install and Use Docker on Debian 10","headline":"How To Install and Use Docker on Debian 10","alternativeHeadline":"How To Install and Use Docker on Debian 10","description":"Docker is an application that simplifies the process of managing application processes in containers. In this tutorial, you'll install and use Docker Community Edition (CE) on Debian 10. You'll install Docker itself, work with containers and images, and push an image to a Docker Repository.","keywords":"Docker,Debian 10","url":"https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10","mainEntityOfPage":{"@type":"WebPage","@id":"https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-10"},"dateModified":"2019-09-18T19:55:19Z","inLanguage":"en","accessMode":"textual","accessModeSufficient":"textual","isAccessibleForFree":true,"license":"https://creativecommons.org/licenses/by-nc-sa/4.0/","publishingPrinciples":"https://www.digitalocean.com/community/tutorials/technical-recommendations-and-best-practices-for-digitalocean-s-tutorials","author":[{"@type":"Person","name":"Brian Hogan","@id":"https://www.digitalocean.com/community/users/bhogan"}],"datePublished":"2019-07-08T16:09:28Z","image":{"@type":"ImageObject","url":"https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/tutorials/images/large/Docker_Install_mostov_twitter-_-facebook-2.png?1562602024","height":375,"width":750},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"http://schema.org/LikeAction","userInteractionCount":"43"},{"@type":"InteractionCounter","interactionType":"http://schema.org/CommentAction","userInteractionCount":"2"}],"sourceOrganization":{"@type":"Organization","name":"DigitalOcean Community","url":"https://www.digitalocean.com/community"},"publisher":{"@type":"Organization","name":"DigitalOcean","url":"https://www.digitalocean.com","logo":{"@type":"ImageObject","url":"https://assets.digitalocean.com/logos/DO_Logo_horizontal_blue.png","width":351,"height":60}},"comment":[{"comment":{"@context":"http://schema.org","@type":"Comment","text":"Hi, this no longer works. I get this error after adding the repos and doing apt update W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/main/binary-amd64/Packages The HTTP server sent an invalid reply header W: Failed to fetch https://download.docker.com/linux/debian/dists/buster/stable/binary-amd64/Packages The HTTP server sent an invalid reply header W: Failed to fetch https://download.docker.com/linux/debian/dists/jessie/stable/binary-amd64/Packages The HTTP server sent an invalid reply header E: Some index files failed to download. They have been ignored, or old ones used instead."}},{"comment":{"@context":"http://schema.org","@type":"Comment","text":"1.- Debian doesn’t have sudo by default. 2.- I don’t found usermod command on Buster."}}]}
  1280. </script>
  1281. <script type="text/javascript">
  1282. $(function() {
  1283. $('.use-universal-search-js').on('click', function () {
  1284. $('#q').trigger('click');
  1285. });
  1286. });
  1287. window.loadUniversalSearchScript( function () {
  1288. var search = new UniversalSearch({
  1289. element_id: 'q',
  1290. search_on_slash: true,
  1291. primary_list: ['quicknav', 'community_consolidated'],
  1292. secondary_list: ['alldocs', 'marketplace'],
  1293. algolia_app_id: "6ZHEUVKJ88",
  1294. algolia_public_key: "c5470567eae7fa1177d43222e18ba086"
  1295. });
  1296. search.start();
  1297. });
  1298. </script>
  1299. <script src="https://do-community.github.io/dns-tool-embed/bundle.js" type="text/javascript"></script>
  1300. <script src="https://do-community.github.io/glob-tool-embed/bundle.js" type="text/javascript"></script>
  1301. </body>
  1302. </html>