ユーザ用ツール

サイト用ツール


tools:docker:installation:opensuse_leap15.2

差分

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

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

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
tools:docker:installation:opensuse_leap15.2 [2021/01/10 04:19]
michiya
tools:docker:installation:opensuse_leap15.2 [2021/01/13 02:13] (現在)
michiya
行 1: 行 1:
-====== openSUSE Leap 15.2 ======+====== openSUSE Leap 15.2にDockerをインストール ======
  
 DockerはopenSUSEで公式リポジトリでサポートされており,新たにリポジトリを追加することなく容易にインストール可能である. DockerはopenSUSEで公式リポジトリでサポートされており,新たにリポジトリを追加することなく容易にインストール可能である.
行 6: 行 6:
 # zypper install docker # zypper install docker
 # systemctl start docker.service  # systemctl start docker.service 
 +</code>
 +
 +===== Docker 起動確認 =====
 +
 +<code>
 # docker run hello-world # docker run hello-world
 </code> </code>
  
 <code> <code>
-docker run hello-world 
 Unable to find image 'hello-world:latest' locally Unable to find image 'hello-world:latest' locally
 latest: Pulling from library/hello-world latest: Pulling from library/hello-world
行 37: 行 41:
 For more examples and ideas, visit: For more examples and ideas, visit:
  https://docs.docker.com/get-started/  https://docs.docker.com/get-started/
 +</code>
 +
 +起動中のコンテナを確認.
 +<code>
 +# docker ps -a
 +</code>
 +<code>
 +CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                     PORTS               NAMES
 +10dfca193731        hello-world         "/hello"            7 minutes ago       Exited (0) 7 minutes ago                       hopeful_moore
 +</code>
 +
 +コンテナの削除
 +<code>
 +# docker rm hopeful_moore
 +</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 hello-world:latest 
 +</code>
 +
 +===== openSUSE =====
 +
 +公式イメージをインストール.
 +
 +<code>
 +# docker search opensuse
 +</code>
 +
 +<code>
 +NAME                                 DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
 +opensuse                             DEPRECATED - for current images by the openS…   294                 [OK]                
 +opensuse/portus                      Authorization service and frontend for Docke…   74                                      [OK]
 +opensuse/leap                        Official openSUSE Leap Images                   48                                      
 +opensuse/tumbleweed                  Official openSUSE Tumbleweed images             34                                      
 +opensuse/amd64                       x86_64 releases of openSUSE Docker images                                             
 +cabelo/opensuse-leap-15.0            openSUSE Leap 15.0 Image                        6                                       
 +cabelo/opensuse-leap-15.2            openSUSE Leap 15.2 Image                        5                                       
 +cabelo/opensuse-leap-15.1            openSUSE Leap 15.1 Image                        5                                       
 +hachque/opensuse                     A base openSUSE 42.1 image, built on SUSE St…                                         
 +particlekit/opensuse-gfortran        OpenSuSE with gfortran/make.                    2                                       [OK]
 +rkrahl/opensuse                      Slightly modified version of the openSUSE im…                                         [OK]
 +matwey/opensuse-ci                   openSUSE Tumbleweed based image for CI purpo…                                         [OK]
 +opensuse/ruby                        Ruby Docker images based on openSUSE Leap 42…                                         [OK]
 +opensuse/clair                       CoreOS Clair image based on openSUSE. Has th…                                         [OK]
 +dokken/opensuse-leap-15              openSUSE Leap 15.X image for kitchen-dokken                                           
 +vergissberlin/opensuse-development   Docker opensuse image to use for development…                                         [OK]
 +opensuse/python                      openSUSE base image with python                                                       [OK]
 +fispact/opensuse                     Automated build of openSUSE images with the …                                         [OK]
 +amd64/opensuse                       DEPRECATED - for current images by the openS…                                         
 +rubydistros/opensuse-15              Ruby on openSUSE Leap 15                        0                                       
 +psimons/opensuse-docker              Haskell development for openSUSE Leap and Tu…                                         [OK]
 +arm64v8/opensuse                     DEPRECATED - for current images by the openS…                                         
 +ppc64le/opensuse                     DEPRECATED - for current images by the openS…                                         
 +machinerytool/opensuse_networking                                                    0                                       
 +dolphinics/opensuse                  For building Dolphin driver stack on opensuse                                         [OK]
 +</code>
 +
 +opensuseをインストールすればよいかと思ったが,Tagが存在しない.(2021/01/10現在)
 +<code>
 +# docker pull opensuse
 +</code>
 +<code>
 +Using default tag: latest
 +Error response from daemon: manifest for opensuse:latest not found: manifest unknown: manifest unknown
 +</code>
 +
 +opensuse/leapのほうが公式にサポートされている?感じがしたためこちらをインストール.Official [OK]が表示されないのが気になるが,[[https://hub.docker.com/r/opensuse/leap/tags?page=1&ordering=last_updated|Docker hub]]を見たところ公式がリリースしているように見える.
 +
 +<code>
 +# docker pull opensuse/leap:15.2
 </code> </code>
tools/docker/installation/opensuse_leap15.2.1610252387.txt.gz · 最終更新: 2021/01/10 04:19 by michiya