naming-docker-containers.html 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172
  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>3 Tips for Naming Docker Containers | DigitalOcean</title>
  7. <meta name="description" content="When you create a Docker container, it is assigned a universally unique identifier or UUID. These are essential to avoiding naming conflicts and promoting automation without human intervention. They effectively identify containers to the host and netw">
  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="3 Tips for Naming Docker Containers | DigitalOcean">
  25. <meta name="og:description" content="When you create a Docker container, it is assigned a universally unique identifier or UUID. These are essential to avoiding naming conflicts and promoting automation without human intervention. They effectively identify containers to the host and netw">
  26. <meta name="og:site_name" content="DigitalOcean">
  27. <meta name="og:type" content="article">
  28. <meta name="og:image" content="https://www.digitalocean.com/assets/community/illustrations/DigitalOcean_Community-e00e73a18df20667c3117725e727f3ade330204dff619ad8153050ded7341627.jpg">
  29. <meta name="twitter:site" content="DigitalOcean">
  30. <meta name="twitter:title" content="3 Tips for Naming Docker Containers | DigitalOcean">
  31. <meta name="twitter:description" content="When you create a Docker container, it is assigned a universally unique identifier or UUID. These are essential to avoiding naming conflicts and promoting automation without human intervention. They effectively identify containers to the host and netw">
  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/naming-docker-containers-3-tips-for-beginners"/>
  35. <meta name="twitter:image" content="https://www.digitalocean.com/assets/community/illustrations/DigitalOcean_Community-e00e73a18df20667c3117725e727f3ade330204dff619ad8153050ded7341627.jpg">
  36. <link rel='canonical' href='https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners'>
  37. <link rel='amphtml' href='https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners.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="Vh1aXFOA02LiRnU4vU7jdqT6uTH90w97aUUexne3RB1DKn1JbGuszgGs3UUQYeHawnvk0fRdrX/AmMxeKamnUw==" />
  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="2095" 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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;url=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;url=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;u=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;u=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;url=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;url=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;u=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;u=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&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">
  482. <div class="container tutorial-header">
  483. <div class="featured-items-right-bar">
  484. <h3>Related</h3>
  485. <a href="/community/tutorials/how-to-install-docker-compose-on-ubuntu-18-04">
  486. <div class="featured-item-regular" data-js="tutorial">
  487. How To Install Docker Compose on Ubuntu 18.04
  488. <span class="featured-item-category">
  489. <img width="14" height="14" alt="Tutorial" src="/assets/community/tutorials/featured-item-tutorial-icon-bce4d5cc06536a907c48f6663a93392cdf6c5f30677b48439d1164c89fb71ad1.png" />
  490. Tutorial
  491. </span>
  492. </div>
  493. </a> <a href="/community/tutorials/how-to-install-discourse-on-ubuntu-20-04">
  494. <div class="featured-item-regular" data-js="tutorial">
  495. How To Install Discourse on Ubuntu 20.04
  496. <span class="featured-item-category">
  497. <img width="14" height="14" alt="Tutorial" src="/assets/community/tutorials/featured-item-tutorial-icon-bce4d5cc06536a907c48f6663a93392cdf6c5f30677b48439d1164c89fb71ad1.png" />
  498. Tutorial
  499. </span>
  500. </div>
  501. </a> </div>
  502. <h4 class="eyebrow">Tutorial</h4>
  503. <h1 class="content-title Tutorial-header">Naming Docker Containers: 3 Tips for Beginners</h1>
  504. <span class="meta-section tags">
  505. <a class="tag" href="/community/tags/docker">Docker</a>
  506. </span>
  507. <div class="tutorial-authors-translations">
  508. <div class="tutorial-authors">
  509. <div class="component-collaborators-container">
  510. <ul class="component-collaborators-content">
  511. <li class="collaborator-byline-avatar">
  512. <a href="/community/users/melissaanderson">
  513. <div class="mod-avatar mod-avatar-large"><img class="avatar avatar-large" src="https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/users/avatars/large/68930a325bec611115077ff82a88ba57ce370372.png?1469887092" /><span class="mod-star" title="MOD" data-toggle="tooltip" data-container="body"><span class="mod-star-icon"></span></span></div>
  514. </a> </li>
  515. <li class="collaborators-byline-data">
  516. <p class="names">By <a href="/community/users/melissaanderson">Melissa Anderson</a></p>
  517. <span class="meta-section date-views">
  518. <span class="meta-section timestamp"><span class="tutorial-date-text">Updated</span><span class="tutorial-date">January 4, 2018</span></span>
  519. <span class="meta-section pageviews"><span class="icon icon-eye v-mid"></span><span class="views-count v-mid">205k</span><span class="sr-only"> views</span></span>
  520. </span>
  521. </li>
  522. </ul>
  523. </div>
  524. </div>
  525. </div>
  526. </div>
  527. <div class="content-body tutorial-content" data-growable-markdown>
  528. <h3 id="introduction">Introduction</h3>
  529. <p>When you create a Docker container, it is assigned a universally unique identifier (UUID). These are essential to avoid naming conflicts and promote automation without human intervention. They effectively identify containers to the host and network. However, they take more effort for humans to differentiate between, whether in the 64 character human-readable long display or the more frequently displayed 12 character short form, which might look something like <code>285c9f0f9d3d</code>. </p>
  530. <p>To help the humans, Docker also supplies containers with a randomly-generated name from two words, joined by an underscore, e.g. <code>evil_ptolemy</code>. This can make it easier to tell one container from another, but the random names don&rsquo;t give any more insight into the container function than the UUID.</p>
  531. <p>Here are three tips that can make it easier to keep your bearings as you learn to work with containers.</p>
  532. <h2 id="1-—-name-the-container-when-you-run-it">1 — Name the container when you run it</h2>
  533. <p>By adding <code>--name=<span class="highlight">meaningful_name</span></code> to the <code>docker run</code> command, an <code>evil_ptolomy</code> becomes more recognizable in interactive sessions as well as in the output of commands like <code>docker ps</code>. There are limitations, however. Since container names must be unique, you cannot use deliberate naming and scale a service beyond one container.</p>
  534. <p><strong>On the Command Line or in a Dockerfile:</strong><br>
  535. <code>docker run --name=<span class="highlight">meaningful_name</span></code></p>
  536. <p>For example, if we ran a container based on the <code>nginx</code> base image and started it like this:</p>
  537. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker run --name <span class="highlight">nginx</span> -d nginx
  538. </li></ul></code></pre>
  539. <p>The name would appear in the list of running containers:</p>
  540. <pre class="code-pre command prefixed"><code><ul class="prefixed"><li class="line" prefix="$">docker ps
  541. </li></ul></code></pre><pre class="code-pre "><code><div class="secondary-code-label " title="Output">Output</div>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
  542. 08f333ef7216 <span class="highlight">nginx</span> "nginx -g 'daemon off" 15 seconds ago Up 14 seconds 80/tcp, 443/tcp nginx
  543. </code></pre>
  544. <p>While the name appears in the output of <code>docker ps</code> and can be used to manage the container, it will not appear in the command prompt of the container if you attach to it or in log files. In order to accomplish that, you&rsquo;ll also need to assign a hostname.</p>
  545. <h2 id="2-—-assign-a-hostname-to-the-container">2 — Assign a hostname to the container</h2>
  546. <p>The value supplied to the <code>--hostname</code> command is set inside <code>/etc/hostname</code> and <code>/etc/hosts</code> inside the container. Consequently, it appears in command prompt. It plays a role in configuring <a href="https://docs.docker.com/engine/userguide/networking/default_network/configure-dns/">container DNS</a> and can be helpful while in the learning stages of a multi-container setup. It is not easy to access from outside the container, but it will appear in the container’s log files, and when those files are written to a volume independent of the host, it can make it easier to identify the container.</p>
  547. <p><strong>CLI and Dockerfile:</strong><br>
  548. <code>docker run --hostname=<span class="highlight">value</span></code> OR <code>docker run -h <span class="highlight">value</span></code></p>
  549. <p>While <code>--name</code> and <code>--hostname</code> are both useful for identification of containers, sometimes, it&rsquo;s not about naming the container at all. Rather, it&rsquo;s about having a container clean up after itself without having to remember to do it yourself.</p>
  550. <h2 id="3-—-automatically-delete-containers-when-they-exit">3 — Automatically delete containers when they exit</h2>
  551. <p>When debugging, it’s helpful that a stopped container persists after it exits. You can retain data like log files and investigate the container’s final state. Sometimes, however, you know when you run the container that you won&rsquo;t want it around when you&rsquo;re done. In this case, you can use the <code>--rm</code> flag to automatically delete it when it exits. This can make it easier to keep things clean. </p>
  552. <p>Be careful, though! If you&rsquo;re using Docker volumes, <code>--rm</code> will remove any <a href="https://docs.docker.com/engine/reference/run/#/clean-up---rm">volumes NOT specified by name</a>.</p>
  553. <p><strong>CLI and Dockerfile:</strong><br>
  554. <code>docker run --rm</code></p>
  555. <p>This is very useful when you&rsquo;re building an image and need to attach to a running container. You want to look around, and you don&rsquo;t want to fill up your disk with containers you don&rsquo;t intend to use again.</p>
  556. <h2 id="conclusion">Conclusion</h2>
  557. <p>These three flags for <code>docker run</code>, <code>--name</code>, <code>--hostname</code>, and <code>--rm</code> can each, in their own way, make it easier to know what&rsquo;s what when learning Docker. You can learn more about containers and working with the <code>docker run</code> command in the <a href="https://www.digitalocean.com/community/tutorials/working-with-docker-containers">Working with Docker Containers</a> guide.</p>
  558. </div>
  559. </div>
  560. <div class="tutorial-footer">
  561. <div class='tutorial-footer-details'>
  562. <div class="hsb--container">
  563. <div class="hsb--content">
  564. <div class="hsb--content-main">
  565. <div class="hsb--undo hsb--hide">
  566. <span class="icon icon-helpfulness-upvoted"></span>
  567. <span class="hsb--question">You rated this helpful.</span>
  568. <button name="button" type="submit" class="hsb--button-down hsb--vote-down-js" data-upvotable-type="Tutorial">Undo</button>
  569. </div>
  570. <div class="hsb--flagging-undo hsb--hide">
  571. <span class="icon icon-helpfulness-flag"></span>
  572. <span class="hsb--question">You reported this tutorial.</span>
  573. <button name="button" type="submit" class="hsb--button-down hsb--unflagging-js">Undo</button>
  574. </div>
  575. <div class="hsb--do">
  576. <span class="hsb--question">Was this helpful?</span>
  577. <button name="button" type="submit" class="hsb--button hsb--vote-up-js" id="submit-upvote-report" data-upvotable-id="2095" data-upvotable-type="Tutorial">Yes</button>
  578. <button name="button" type="submit" class="hsb--button hsb--flagging-js" data-url="/community/tutorials/naming-docker-containers-3-tips-for-beginners/flag" data-flaggable-id="2095" data-flag-type="no">No</button>
  579. </div>
  580. <div class="hsb--social-and-comments">
  581. <div class="hsb--social-sharing">
  582. <a target="_blank" class="share-popup" href="http://twitter.com/share?text=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;url=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&amp;utm_medium=community&amp;utm_source=twshare">
  583. <span class="icon icon-helpfulness-twitter"></span>
  584. </a>
  585. <a target="_blank" class="share-popup" href="https://www.facebook.com/sharer/sharer.php?u=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&amp;utm_medium=community&amp;utm_source=fbshare">
  586. <span class="icon icon-helpfulness-facebook"></span>
  587. </a>
  588. <a target="_blank" class="share-popup" href="https://news.ycombinator.com/submitlink?t=Naming%20Docker%20Containers%3A%203%20Tips%20for%20Beginners&amp;u=https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners?utm_content=naming-docker-containers-3-tips-for-beginners&amp;utm_medium=community&amp;utm_source=hnshare">
  589. <span class="icon icon-helpfulness-hacker-news"></span>
  590. </a> </div>
  591. <div class="hsb--comment">
  592. <span class="icon icon-helpfulness-comment"></span>
  593. <strong class="amount">5</strong>
  594. </div>
  595. </div>
  596. </div>
  597. </div>
  598. <a class="hsb--flagging-js" data-url="/community/tutorials/naming-docker-containers-3-tips-for-beginners/flag" data-flaggable-id="2095" data-flag-type="report" href="javascript:void(0);">Report an issue</a>
  599. </div>
  600. <div class="component-collaborators-container-footer">
  601. <div class="component-collaborators-content">
  602. <div class="heading">About the authors</div>
  603. <div class="author">
  604. <a href="/community/users/melissaanderson">
  605. <div class="avatar">
  606. <div class="mod-avatar mod-avatar-large"><img class="avatar avatar-large" src="https://community-cdn-digitalocean-com.global.ssl.fastly.net/assets/users/avatars/large/68930a325bec611115077ff82a88ba57ce370372.png?1469887092" /><span class="mod-star" title="MOD" data-toggle="tooltip" data-container="body"><span class="mod-star-icon"></span></span></div>
  607. </div>
  608. </a> <div class="byline-info">
  609. <div class="names">
  610. <a href="/community/users/melissaanderson">
  611. Melissa Anderson
  612. </a> </div>
  613. <p> has authored 96 tutorials.</p>
  614. </div>
  615. </div>
  616. <div class="editor-translator">
  617. </div>
  618. </div>
  619. </div>
  620. </div>
  621. <div class='related-content'>
  622. <div class='section-content panels'>
  623. <h2>Related</h2>
  624. <ul>
  625. <li title="How To Install Docker Compose on Ubuntu 18.04">
  626. <a class="panel" href="/community/tutorials/how-to-install-docker-compose-on-ubuntu-18-04">
  627. <h6>Tutorial</h6>
  628. <div class="panel-data">
  629. <h5>How To Install Docker Compose on Ubuntu 18.04</h5>
  630. <p data-clamp>Docker is a great tool for automating the deployment of Linux applications inside software containers, but to take full advantage of its potential each component of an application should run in its own individual container. For complex applications...</p>
  631. </div>
  632. </a>
  633. </li>
  634. <li title="How To Install Discourse on Ubuntu 20.04">
  635. <a class="panel" href="/community/tutorials/how-to-install-discourse-on-ubuntu-20-04">
  636. <h6>Tutorial</h6>
  637. <div class="panel-data">
  638. <h5>How To Install Discourse on Ubuntu 20.04</h5>
  639. <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>
  640. </div>
  641. </a>
  642. </li>
  643. <li title="How To Scale and Secure a Django Application with Docker, Nginx, and Let&#39;s Encrypt">
  644. <a class="panel" href="/community/tutorials/how-to-scale-and-secure-a-django-application-with-docker-nginx-and-let-s-encrypt">
  645. <h6>Tutorial</h6>
  646. <div class="panel-data">
  647. <h5>How To Scale and Secure a Django Application with Docker, Nginx, and Let&#39;s Encrypt</h5>
  648. <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>
  649. </div>
  650. </a>
  651. </li>
  652. <li title="How To Install and Configure Drone on Ubuntu 20.04">
  653. <a class="panel" href="/community/tutorials/how-to-install-and-configure-drone-on-ubuntu-20-04">
  654. <h6>Tutorial</h6>
  655. <div class="panel-data">
  656. <h5>How To Install and Configure Drone on Ubuntu 20.04</h5>
  657. <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>
  658. </div>
  659. </a>
  660. </li>
  661. </ul>
  662. </div>
  663. </div>
  664. <div class='looking-for-an-answer'>
  665. <div class='section-content'>
  666. <h4>Still looking for an answer?</h4>
  667. <div class="lfa--actions">
  668. <a href="/community/questions/new?tags=Docker"
  669. class="lfa--action-box">
  670. <span class="icon icon-look-for-answer-question"></span>
  671. Ask a question
  672. </a>
  673. <a href="javascript:void(0)" class="lfa--action-box use-universal-search-js">
  674. <span class="icon icon-look-for-answer-search-thin"></span>
  675. Search for more help
  676. </a>
  677. </div>
  678. </div>
  679. </div>
  680. </div>
  681. <div class="content-comments">
  682. <div class="section-content">
  683. <div class="tutorial commentable" id="tutorial_2095">
  684. <div class="comments-header">
  685. <h4 class="comments-count">
  686. <span>5 Comments</span>
  687. </h4>
  688. </div>
  689. <div class="response response-form no-avatar">
  690. <div class="js-display-on-error flash error hidden"></div>
  691. <form class="content-form disabled-form" id="new_comment" action="/community/tutorials/naming-docker-containers-3-tips-for-beginners/comments" accept-charset="UTF-8" data-remote="true" method="post"><input name="utf8" type="hidden" value="&#x2713;" />
  692. <textarea name="comment[content]" id="comment_content" placeholder="Leave a comment..." class="js-comment-content tutorial-comment-field" data-markdown="true">
  693. </textarea>
  694. <div class="log-in-notice "><a href="/community/auth/digitalocean">Sign In to Comment</a></div>
  695. <div class='clearfix'></div>
  696. </form>
  697. </div>
  698. <div class="comments">
  699. <ul class="response-list">
  700. <a class="js-click-on-load hidden" rel="nofollow" data-remote="true" href="/community/tutorials/naming-docker-containers-3-tips-for-beginners/comments">Load</a>
  701. </ul>
  702. <div class='comments-spinner'><div class="spinner spinner-large">
  703. <div class="bounce1"></div>
  704. <div class="bounce2"></div>
  705. <div class="bounce3"></div>
  706. </div>
  707. </div>
  708. </div>
  709. <div class='load-more-container'></div>
  710. </div>
  711. </div>
  712. </div>
  713. <div class="creative-commons">
  714. <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>
  715. <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>
  716. </div>
  717. <div class="clearfix"></div>
  718. </div>
  719. <footer>
  720. <section>
  721. <a href="https://www.digitalocean.com/community/pages/write-for-digitalocean" class="panel_with_image">
  722. <div class="photo_wrap">
  723. <img class="photo" src="https://images.prismic.io/digitalocean/70910e9fdeb57be46aaa209ce8d9b4dc8e117fab_w4do2.jpg?auto=compress,format" alt="">
  724. </div>
  725. <span class="heading">Become a contributor</span>
  726. <p>
  727. You get paid; we donate to tech nonprofits.
  728. </p>
  729. </a>
  730. <a href="https://www.digitalocean.com/community/newsletter" class="panel_with_image">
  731. <div class="photo_wrap">
  732. <img class="photo" src="https://images.prismic.io/digitalocean/ca12c951cc76f33037f3384bba9942545d160d82_iaan_illo.jpg?auto=compress,format" alt="">
  733. </div>
  734. <span class="heading">Get our biweekly newsletter</span>
  735. <p>
  736. Sign up for Infrastructure as a Newsletter.
  737. </p>
  738. </a>
  739. <a href="https://www.digitalocean.com/community/pages/hub-for-good" class="panel_with_image">
  740. <div class="photo_wrap">
  741. <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="">
  742. </div>
  743. <span class="heading">Hub for Good</span>
  744. <p>
  745. Working on improving health and education, reducing inequality, and spurring economic growth? We&#39;d like to help.
  746. </p>
  747. </a>
  748. </section>
  749. <section class="slim ">
  750. <span class="heading">Featured on Community</span>
  751. <a href="https://www.digitalocean.com/community/curriculums/kubernetes-for-full-stack-developers">Kubernetes Course</a>
  752. <a href="https://www.digitalocean.com/community/tutorial_series/how-to-code-in-python-3">Learn Python 3</a>
  753. <a href="https://www.digitalocean.com/community/tutorials/machine-learning-projects-python-a-digitalocean-ebook">Machine Learning in Python</a>
  754. <a href="https://www.digitalocean.com/community/tutorials/how-to-write-your-first-program-in-go">Getting started with Go</a>
  755. <a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-kubernetes">Intro to Kubernetes</a>
  756. <hr>
  757. <span class="heading">DigitalOcean Products</span>
  758. <a href="https://www.digitalocean.com/products/droplets/">Droplets</a>
  759. <a href="https://www.digitalocean.com/products/managed-databases/">Managed Databases</a>
  760. <a href="https://www.digitalocean.com/products/kubernetes/">Managed Kubernetes</a>
  761. <a href="https://www.digitalocean.com/products/spaces/">Spaces Object Storage</a>
  762. <a href="https://marketplace.digitalocean.com/">Marketplace</a>
  763. </section>
  764. <section class="product">
  765. <a class="copy" href="/products">
  766. <h3>Welcome to the developer cloud</h3>
  767. <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>
  768. <span class="link_text">Learn More</span>
  769. </a>
  770. <div class="feature">
  771. <a class="img_wrap" href="/products">
  772. <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">
  773. </a>
  774. </div>
  775. </section>
  776. <section class="dark">
  777. <div class="vlist grow">
  778. <a href="https://www.digitalocean.com">
  779. <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50">
  780. <title>DigitalOcean Homepage</title>
  781. <g fill="#0080FF" fill-rule="evenodd">
  782. <path
  783. 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">
  784. </path>
  785. <path
  786. d="M15.339 40.3672h9.6045v-9.6045H15.339zM7.9379 47.7684h7.401v-7.4012H7.938zM1.7514 40.3672H7.938v-6.1864H1.7514z">
  787. </path>
  788. </g>
  789. </svg>
  790. </a>
  791. <br><br>
  792. © <script type="text/javascript">
  793. document.write(new Date().getFullYear());
  794. </script> DigitalOcean, LLC. All rights reserved.
  795. </div>
  796. <div class="vlist">
  797. <span class="heading">Company</span>
  798. <ul>
  799. <li>
  800. <a href="https://www.digitalocean.com/about/">About</a>
  801. </li>
  802. <li>
  803. <a href="https://www.digitalocean.com/about/leadership/">Leadership</a>
  804. </li>
  805. <li>
  806. <a href="https://www.digitalocean.com/blog/">Blog</a>
  807. </li>
  808. <li>
  809. <a href="https://www.digitalocean.com/careers/">Careers</a>
  810. </li>
  811. <li>
  812. <a href="https://www.digitalocean.com/partners/">Partners</a>
  813. </li>
  814. <li>
  815. <a href="https://www.digitalocean.com/referral-program/">Referral Program</a>
  816. </li>
  817. <li>
  818. <a href="https://www.digitalocean.com/press/">Press</a>
  819. </li>
  820. <li>
  821. <a href="https://www.digitalocean.com/legal/">Legal</a>
  822. </li>
  823. <li>
  824. <a href="https://www.digitalocean.com/trust/">Security &amp; Trust Center</a>
  825. </li>
  826. </ul>
  827. </div>
  828. <div class="vlist">
  829. <span class="heading">Products</span>
  830. <ul>
  831. <li>
  832. <a href="https://www.digitalocean.com/pricing/">Pricing</a>
  833. </li>
  834. <li>
  835. <a href="https://www.digitalocean.com/products/">Products Overview</a>
  836. </li>
  837. <li>
  838. <a href="https://www.digitalocean.com/products/droplets/">Droplets</a>
  839. </li>
  840. <li>
  841. <a href="https://www.digitalocean.com/products/kubernetes/">Kubernetes</a>
  842. </li>
  843. <li>
  844. <a href="https://www.digitalocean.com/products/managed-databases/">Managed Databases</a>
  845. </li>
  846. <li>
  847. <a href="https://www.digitalocean.com/products/spaces/">Spaces</a>
  848. </li>
  849. <li>
  850. <a href="https://www.digitalocean.com/products/marketplace/">Marketplace</a>
  851. </li>
  852. <li>
  853. <a href="https://www.digitalocean.com/products/load-balancer/">Load Balancers</a>
  854. </li>
  855. <li>
  856. <a href="https://www.digitalocean.com/products/block-storage/">Block Storage</a>
  857. </li>
  858. <li>
  859. <a href="https://developers.digitalocean.com/documentation/">API Documentation</a>
  860. </li>
  861. <li>
  862. <a href="https://www.digitalocean.com/docs">Documentation</a>
  863. </li>
  864. <li>
  865. <a href="https://www.digitalocean.com/docs/release-notes/">Release Notes</a>
  866. </li>
  867. </ul>
  868. </div>
  869. <div class="vlist">
  870. <span class="heading">Community</span>
  871. <ul>
  872. <li>
  873. <a href="https://www.digitalocean.com/community/tutorials">Tutorials</a>
  874. </li>
  875. <li>
  876. <a href="https://www.digitalocean.com/community/questions">Q&amp;A</a>
  877. </li>
  878. <li>
  879. <a href="https://www.digitalocean.com/community/tools">Tools and Integrations</a>
  880. </li>
  881. <li>
  882. <a href="https://www.digitalocean.com/community/tags">Tags</a>
  883. </li>
  884. <li>
  885. <a href="https://ideas.digitalocean.com/">Product Ideas</a>
  886. </li>
  887. <li>
  888. <a href="https://www.digitalocean.com/write-for-donations/">Write for DigitalOcean</a>
  889. </li>
  890. <li>
  891. <a href="https://www.digitalocean.com/droplets-for-demos/">Presentation Grants</a>
  892. </li>
  893. <li>
  894. <a href="https://www.digitalocean.com/hatch/">Hatch Startup Program</a>
  895. </li>
  896. <li>
  897. <a href="http://store.digitalocean.com/">Shop Swag</a>
  898. </li>
  899. <li>
  900. <a href="https://www.digitalocean.com/research/">Research Program</a>
  901. </li>
  902. <li>
  903. <a href="https://www.digitalocean.com/open-source/">Open Source</a>
  904. </li>
  905. <li>
  906. <a href="https://www.digitalocean.com/community/pages/code-of-conduct">Code of Conduct</a>
  907. </li>
  908. </ul>
  909. </div>
  910. <div class="vlist">
  911. <span class="heading">Contact</span>
  912. <ul>
  913. <li>
  914. <a href="https://www.digitalocean.com/support/">Get Support</a>
  915. </li>
  916. <li>
  917. <a href="https://www.digitalocean.com/docs/getting-started/faq/">Trouble Signing In?</a>
  918. </li>
  919. <li>
  920. <a href="https://www.digitalocean.com/company/contact/sales/">Sales</a>
  921. </li>
  922. <li>
  923. <a href="https://www.digitalocean.com/company/contact/#abuse">Report Abuse</a>
  924. </li>
  925. <li>
  926. <a href="https://status.digitalocean.com/">System Status</a>
  927. </li>
  928. </ul>
  929. </div>
  930. </section>
  931. </footer>
  932. <div id='sign-in-modal' class='modal fade mini-modal' style="display: none;">
  933. <div class='modal-dialog'>
  934. <div class='modal-content'>
  935. <div class='modal-header'>
  936. <h1>Almost there!</h1>
  937. <a class='close-button' data-dismiss='modal' aria-label="close" href=''><span class='icon icon-close-light'></span></a>
  938. </div>
  939. <div class='modal-body'>
  940. <div class='sign-in-message'>Sign in to your Community account or create a new one below.</div>
  941. <div class='sign-in-modal-actions'>
  942. <a class="sign-in-link button blue-button" data-default-url="/community/auth/digitalocean" href="/community/auth/digitalocean">Sign In</a>
  943. <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>
  944. </div>
  945. </div>
  946. </div>
  947. </div>
  948. </div>
  949. <script>
  950. $(function() {
  951. window.initHelpfulnessActions(2095, '/community/tutorials/naming-docker-containers-3-tips-for-beginners/flag');
  952. });
  953. </script>
  954. <script>
  955. $(function() {
  956. if (!!window.init_sharing) {
  957. window.init_sharing();
  958. }
  959. new window.NewsletterSignup();
  960. new window.GrowableMarkdown({ target: '[data-growable-markdown]' });
  961. });
  962. </script>
  963. <script type="application/ld+json">
  964. {"@context":"http://schema.org","@type":"Article","name":"Naming Docker Containers: 3 Tips for Beginners","headline":"Naming Docker Containers: 3 Tips for Beginners","alternativeHeadline":"3 Tips for Naming Docker Containers","description":"When you create a Docker container, it is assigned a universally unique identifier or UUID. These are essential to avoiding naming conflicts and promoting automation without human intervention. They effectively identify containers to the host and network. However, they take more...","keywords":"Docker","url":"https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners","mainEntityOfPage":{"@type":"WebPage","@id":"https://www.digitalocean.com/community/tutorials/naming-docker-containers-3-tips-for-beginners"},"dateModified":"2018-01-04T21:18:29Z","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":"Melissa Anderson","@id":"https://www.digitalocean.com/community/users/melissaanderson"}],"datePublished":"2016-11-04T21:44:44Z","image":{"@type":"ImageObject","url":"https://www.digitalocean.com/assets/community/illustrations/DigitalOcean_Community-e00e73a18df20667c3117725e727f3ade330204dff619ad8153050ded7341627.jpg","height":375,"width":750},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"http://schema.org/LikeAction","userInteractionCount":"38"},{"@type":"InteractionCounter","interactionType":"http://schema.org/CommentAction","userInteractionCount":"4"}],"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":"hello i love if some one can help me with that i cant find the wrong commend here : docker stop blockchain-service docker rm blockchain-service docker run –name blockchain-service -d –restart always -v ~/ethereum/:/var/run/ethereum -e GETHIPCPATH=/var/run/ethereum/ethereum-data.ipc -e SQSQUEUEURL=https://sqs.us-east-1.amazonaws.com/407151891480/geth-mainnet-transactions -e MASTERWALLETADDRESS=0xMASTERKEY –log-opt max-size=100m –log-opt max-file=3 -e SQSPAYMENTREQUESTSQUEUEURL=geth-mainnet-payment-requests -e FAKEUSERWALLETPRIVATEKEY=PRIVATEKEY -e FAKEUSERWALLETPUBLICKEY=0xPUBLICKEY -e AWSACCESSKEYID=ACCESSKEY -e AWSSECRETACCESSKEY=ACCESSKEY -e ENV=prod -e EXPECTEDTRANSACTIONAMOUNT=1000000000000000000000 -e DBPORT=5432 -e DBNAME=endordb -e DBUSER=endoradmin -e DBHOST=MYDB.us-east-1.rds.amazonaws.com -e DBPASSWORD=NOPASSWORD -e SLACKTOKEN=xoxp-14092887333-345643415810-495051526626-e 2e61b404d4be9b0a7002ae01e25991a 407151891480.dkr.ecr.us-east-1.amazonaws.com/blockchain-service"}},{"comment":{"@context":"http://schema.org","@type":"Comment","text":"Thank you."}},{"comment":{"@context":"http://schema.org","@type":"Comment","text":"Simple and Nice article. Please make more of these."}},{"comment":{"@context":"http://schema.org","@type":"Comment","text":"Informative, thanks."}}]}
  965. </script>
  966. <script type="text/javascript">
  967. $(function() {
  968. $('.use-universal-search-js').on('click', function () {
  969. $('#q').trigger('click');
  970. });
  971. });
  972. window.loadUniversalSearchScript( function () {
  973. var search = new UniversalSearch({
  974. element_id: 'q',
  975. search_on_slash: true,
  976. primary_list: ['quicknav', 'community_consolidated'],
  977. secondary_list: ['alldocs', 'marketplace'],
  978. algolia_app_id: "6ZHEUVKJ88",
  979. algolia_public_key: "c5470567eae7fa1177d43222e18ba086"
  980. });
  981. search.start();
  982. });
  983. </script>
  984. <script src="https://do-community.github.io/dns-tool-embed/bundle.js" type="text/javascript"></script>
  985. <script src="https://do-community.github.io/glob-tool-embed/bundle.js" type="text/javascript"></script>
  986. </body>
  987. </html>