2.

Dockerのイメージの検索 / 取得 / 取得済み一覧の確認

編集

今回はnginxのイメージを例とします。

 

検索

> docker search nginx

NAME                                                   DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
nginx                                                  Official build of Nginx.                        10610               [OK]
jwilder/nginx-proxy                                    Automated Nginx reverse proxy for docker con…   1492                                    [OK]
richarvey/nginx-php-fpm                                Container running Nginx + PHP-FPM capable of…   668                                     [OK]
jrcs/letsencrypt-nginx-proxy-companion                 LetsEncrypt container to use with nginx as p…   453                                     [OK]
...

 

取得

> docker pull nginx

Using default tag: latest
latest: Pulling from library/nginx
... : Pull complete
... : Pull complete
... : Pull complete
Digest: ...
Status: Downloaded newer image for nginx:latest

 

取得済み一覧の確認

> docker images

REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
nginx               latest              568c4670fa80        3 weeks ago         109MB
ubuntu              latest              93fd78260bd1        4 weeks ago         86.2MB

 

編集
Post Share
子ページ

子ページはありません

同階層のページ
  1. インストール方法(Windows)
  2. イメージの検索 / 取得 / 取得済み一覧の確認
  3. use windows containers instead of linux containers docker
  4. バージョンの確認
  5. エラー一覧