ユーザ用ツール

サイト用ツール


tools:docker:installation:centos7

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

次のリビジョン
前のリビジョン
tools:docker:installation:centos7 [2021/01/05 09:09]
michiya 作成
tools:docker:installation:centos7 [2021/01/09 14:37] (現在)
行 11: 行 11:
  
 <code> <code>
-yum list docker-ce --showduplicates | sort -r+systemctl start docker 
 +# docker run hello-world
 </code> </code>
  
 <code> <code>
- * updates: mirror.newmediaexpress.com +Unable to find image 'hello-world:latest' locally 
-Loading mirror speeds from cached hostfile +latestPulling from library/hello-world 
-Loaded plugins: fastestmirror +0e03bdcc26d7Pull complete 
-Installed Packages +Digestsha256:1a523af650137b8accdaed439c17d684df61ee4d74feac151b5b337bd29e7eec 
- * extras: centos.usonyx.net +StatusDownloaded newer image for hello-world:latest
-docker-ce.x86_64            3:20.10.2-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:20.10.2-3.el7                    @docker-ce-stable +
-docker-ce.x86_64            3:20.10.1-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:20.10.0-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.9-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.8-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.7-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.6-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.5-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.4-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.3-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.2-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.14-3.el7                   docker-ce-stable +
-docker-ce.x86_64            3:19.03.1-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:19.03.13-3.el7                   docker-ce-stable +
-docker-ce.x86_64            3:19.03.12-3.el7                   docker-ce-stable +
-docker-ce.x86_64            3:19.03.11-3.el7                   docker-ce-stable +
-docker-ce.x86_64            3:19.03.10-3.el7                   docker-ce-stable +
-docker-ce.x86_64            3:19.03.0-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.9-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.8-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.7-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.6-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.5-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.4-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.3-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.2-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.1-3.el7                    docker-ce-stable +
-docker-ce.x86_64            3:18.09.0-3.el7                    docker-ce-stable +
-docker-ce.x86_64            18.06.3.ce-3.el7                   docker-ce-stable +
-docker-ce.x86_64            18.06.2.ce-3.el7                   docker-ce-stable +
-docker-ce.x86_64            18.06.1.ce-3.el7                   docker-ce-stable +
-docker-ce.x86_64            18.06.0.ce-3.el7                   docker-ce-stable +
-docker-ce.x86_64            18.03.1.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            18.03.0.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.12.1.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.12.0.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.09.1.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.09.0.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.06.2.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.06.1.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.06.0.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.03.3.ce-1.el7                   docker-ce-stable +
-docker-ce.x86_64            17.03.2.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.03.1.ce-1.el7.centos            docker-ce-stable +
-docker-ce.x86_64            17.03.0.ce-1.el7.centos            docker-ce-stable +
- * base: mirror.newmediaexpress.com +
-Available Packages+
  
 +Hello from Docker!
 +This message shows that your installation appears to be working correctly.
 +
 +To generate this message, Docker took the following steps:
 + 1. The Docker client contacted the Docker daemon.
 + 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
 +    (amd64)
 + 3. The Docker daemon created a new container from that image which runs the
 +    executable that produces the output you are currently reading.
 + 4. The Docker daemon streamed that output to the Docker client, which sent it
 +    to your terminal.
 +
 +To try something more ambitious, you can run an Ubuntu container with:
 + $ docker run -it ubuntu bash
 +
 +Share images, automate workflows, and more with a free Docker ID:
 + https://hub.docker.com/
 +
 +For more examples and ideas, visit:
 + https://docs.docker.com/get-started/
 </code> </code>
 +
 +<code>
 +# docker ps -a
 +</code>
 +<code>
 +CONTAINER ID   IMAGE         COMMAND    CREATED         STATUS                     PORTS     NAMES
 +65fd944cccab   hello-world   "/hello"   3 minutes ago   Exited (0) 3 minutes ago             vibrant_tharp
 +</code>
 +
 +<code>
 +# docker rm 65fd944cccab
 +# docker ps -a
 +</code>
 +<code>
 +CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
 +</code>
 +
 +<code>
 +# docker images
 +</code>
 +
 +<code>
 +REPOSITORY    TAG       IMAGE ID       CREATED         SIZE
 +hello-world   latest    bf756fb1ae65   12 months ago   13.3kB
 +</code>
 +
 +<code>
 +# docker rmi bf756fb1ae65
 +# docker images
 +</code>
 +
 +<code>
 +REPOSITORY   TAG       IMAGE ID       CREATED       SIZE
 +</code>
 +
tools/docker/installation/centos7.1609837743.txt.gz · 最終更新: 2021/01/09 14:37 (外部編集)