index.html 6.8 KB
Newer Older
K
init  
KyleZhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  
  <title>Tag: docker | 开源百科</title>

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta http-equiv="X-UA-Compatible" content="ie=edge" />

  <meta name="description" content="面向开发人员和技术专业人员的,汇聚全网优秀开源项目的社区。">
<meta property="og:type" content="website">
<meta property="og:title" content="开源百科">
K
KyleZhang 已提交
14
<meta property="og:url" content="https://dev-cloud.gitcode.host/oss-pedia/blog/tags/docker/index.html">
K
init  
KyleZhang 已提交
15 16 17 18 19 20 21 22 23
<meta property="og:site_name" content="开源百科">
<meta property="og:description" content="面向开发人员和技术专业人员的,汇聚全网优秀开源项目的社区。">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="GitCode.net">
<meta name="twitter:card" content="summary">

  

  
茶陵後's avatar
茶陵後 已提交
24
  <!--[if lte IE 10 ]><link rel="shortcut icon" href="/oss-pedia/images/favicon.ico"><![endif]-->
K
init  
KyleZhang 已提交
25
  <!--[if !IE]><!-->
茶陵後's avatar
茶陵後 已提交
26
  <link rel="shortcut icon" href="/oss-pedia/images/favicon.png">
K
init  
KyleZhang 已提交
27

茶陵後's avatar
茶陵後 已提交
28
  <meta name="msapplication-TileImage" content="/oss-pedia/images/favicon.png"/>
K
init  
KyleZhang 已提交
29 30
  <meta name="msapplication-TileColor" content="#000000"/>

茶陵後's avatar
茶陵後 已提交
31 32 33 34
  <link rel="apple-touch-icon" href="/oss-pedia/images/apple-touch-icon-57x57.png" />
  <link rel="apple-touch-icon" sizes="72x72" href="/oss-pedia/images/apple-touch-icon-72x72.png" />
  <link rel="apple-touch-icon" sizes="114x114" href="/oss-pedia/images/apple-touch-icon-114x114.png" />
  <link rel="apple-touch-icon" sizes="144x144" href="/oss-pedia/images/apple-touch-icon-144x144.png" />
K
init  
KyleZhang 已提交
35

茶陵後's avatar
茶陵後 已提交
36
  <link rel="icon" sizes="256x256" href="/oss-pedia/images/favicon.png" />
K
init  
KyleZhang 已提交
37 38 39 40 41 42
  <!--<![endif]-->
  

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro|Material+Icons|Raleway:400,300,700" rel="stylesheet" type="text/css" />

  
茶陵後's avatar
茶陵後 已提交
43
<link rel="stylesheet" href="/oss-pedia/generated/668-8ba6742167ba420f699c.css">
K
init  
KyleZhang 已提交
44

茶陵後's avatar
茶陵後 已提交
45
<link rel="stylesheet" href="/oss-pedia/generated/app-da20bb8e781d1cdeb855.css">
K
init  
KyleZhang 已提交
46

茶陵後's avatar
茶陵後 已提交
47
<link rel="stylesheet" href="/oss-pedia/generated/blog-9616c73356b85ed396f8.css">
K
init  
KyleZhang 已提交
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62


  


  <script src="https://polyfill.io/v3/polyfill.min.js?features=es5,es6,es7,fetch,Object.entries,Object.values&flags=gated"></script>

<meta name="generator" content="Hexo 5.3.0"></head>
<body>

  
<div class="navbar-fixed">
  <nav id="main-navbar" class="grey lighten-5 z-depth-0" role="navigation">
    <div class="nav-wrapper container">

茶陵後's avatar
茶陵後 已提交
63
      <a id="logo-container" href="/oss-pedia/" class="brand-logo center-align">
K
init  
KyleZhang 已提交
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
        <span>开源百科</span>
        <sub></sub>
      </a>

      <ul class="right hide-on-med-and-down">
        
      </ul>

      <a href="#" data-target="nav-mobile" class="button-collapse sidenav-trigger">
        <i class="material-icons">menu</i>
      </a>
    </div>
  </nav>
</div>

<ul id="nav-mobile" class="sidenav">
  
</ul>


  <div id="main-container">
    
<div class="container">
  <div class="row">
    <div class="col s12">

      
        <h2 class="header color-featured">Tag: docker</h2>
      

      
        

      <article id="post-tutorial-docker-iniciando-e-como-rodar-containers" class="article article-type-post" itemscope itemprop="blogPost">

        <div class="article-inner">
          


          <header class="article-header">
          
              
  
    <h1 itemprop="name" class="header">
茶陵後's avatar
茶陵後 已提交
108
      <a class="article-title " href="/oss-pedia/2016/01/25/tutorial-docker-iniciando-e-como-rodar-containers/">Tutorial Docker Iniciando E Como Rodar Containers</a>
K
init  
KyleZhang 已提交
109 110 111 112 113 114 115 116 117 118 119
    </h1>
  


          

            
              <div class="article-meta">
                <i class="fa fa-calendar"></i>
                Published:
                <time
茶陵後's avatar
茶陵後 已提交
120
                  datetime="2016-01-25T15:28:06.000Z"
K
init  
KyleZhang 已提交
121 122
                  itemprop="datePublished"
                  title="Date published"
茶陵後's avatar
茶陵後 已提交
123
                >1月 25, 2016</time>
K
init  
KyleZhang 已提交
124 125 126 127 128 129 130 131 132

                
              </div>
            
          </header>


          <div class="article-entry " itemprop="articleBody">
            
茶陵後's avatar
茶陵後 已提交
133
              <img src="/oss-pedia/2016/01/25/tutorial-docker-iniciando-e-como-rodar-containers/docker.png" class="" title="docker logo">
K
init  
KyleZhang 已提交
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149

<h2 id="Rodando-imagens"><a href="#Rodando-imagens" class="headerlink" title="Rodando imagens"></a>Rodando imagens</h2><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> docker run ubuntu</span></span><br></pre></td></tr></table></figure>
<p>Este comando vai seguir os seguintes passos:</p>
<ul>
<li>Baixar a última versão do Ubuntu disponível para Docker, caso você ainda não tenha</li>
<li>Instalar a imagem em uma máquina virtual</li>
<li>Finalizar a execução</li>
</ul>
<p>É possível, ainda, escolher a versão da imagem</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> docker run ubuntu:14.04</span></span><br></pre></td></tr></table></figure>
<p>O problema do comando run é que ele cria um container e morre, desligando assim a máquina virtual e deixando você sem acesso.</p>
            
          </div>

          
            <p class="article-more-link">
茶陵後's avatar
茶陵後 已提交
150
              <a href="/oss-pedia/2016/01/25/tutorial-docker-iniciando-e-como-rodar-containers/#more" class="waves-effect waves-light btn red lighten-2">
K
init  
KyleZhang 已提交
151 152 153 154 155 156 157 158
                Read More
                &nbsp;
                <i class="fa fa-plus-circle"></i>
              </a>
            </p>
          

          <footer class="article-footer">
茶陵後's avatar
茶陵後 已提交
159
            <a data-url="https://dev-cloud.gitcode.host/oss-pedia/2016/01/25/tutorial-docker-iniciando-e-como-rodar-containers/" data-id="cl17dlhpd000o5z0cahdxapo8" class="article-share-link">Share</a>
K
init  
KyleZhang 已提交
160 161
            
            
茶陵後's avatar
茶陵後 已提交
162
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/oss-pedia/blog/tags/docker/" rel="tag">docker</a></li></ul>
K
init  
KyleZhang 已提交
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201

          </footer>

        </div>

        
      </article>


      




      


      

    </div>
  </div>
</div>


  </div>

  <footer class="page-footer grey darken-2">
    <div class="footer-copyright">
      <div class="container">
        &copy; 2022 GitCode.net

        <div class="right">
          Powered by <a href="http://hexo.io/" rel="nofollow noopener" class="white-text" target="_blank">Hexo</a>
        </div>
      </div>
    </div>
  </footer>

  
茶陵後's avatar
茶陵後 已提交
202
<script src="/oss-pedia/generated/193-eb01f81907d23513bb6f.js"></script>
K
init  
KyleZhang 已提交
203

茶陵後's avatar
茶陵後 已提交
204
<script src="/oss-pedia/generated/668-d2e471b8dcd3790fc287.js"></script>
K
init  
KyleZhang 已提交
205

茶陵後's avatar
茶陵後 已提交
206
<script src="/oss-pedia/generated/app-ab934fe8b0db342c4d01.js"></script>
K
init  
KyleZhang 已提交
207

茶陵後's avatar
茶陵後 已提交
208
<script src="/oss-pedia/generated/blog-11990083fd519e2cb9b8.js"></script>
K
init  
KyleZhang 已提交
209 210 211 212


</body>
</html>