Docker-docs-ja
1.12.RC2

Docker を始めましょう - 導入ガイド

  • Windows
  • Mac OS X

Docker Engine

  • Docker Engine
    • Docker Engine について
    • インストール
    • Docker 導入ガイド
    • 例で学ぶ
    • Docker Engine ユーザガイド
    • 管理
    • 安全な Engine
    • Engine の拡張
    • アプリケーションの Docker 化
    • Engine リファレンス
      • Dockerfile リファレンス
      • Docker run リファレンス
      • コマンドライン・リファレンス
        • Docker コマンド
        • Docker コマンドラインを使う
        • daemon
        • attach
        • build
        • commit
        • cp
        • create
        • diff
        • events
        • exec
        • export
        • history
        • images
        • import
        • info
        • inspect
        • kill
        • load
        • login
        • logout
        • logs
        • network connect
        • network create
        • network disconnect
        • network inspect
        • network ls
        • network rm
        • pause
        • node accept
        • ps
        • pull
        • push
        • plugin disable (実験的)
        • plugin enable (実験的)
        • plugin inspect (実験的)
        • plugin install (実験的)
        • plugin ls (実験的)
        • plugin rm (実験的)
        • rename
        • restart
        • rm
        • rmi
        • run
        • save
        • search
        • service create
        • service inspect
        • service ls
        • service rm
        • service scale
        • service tasks
        • service update
        • start
        • stats
        • stop
        • swarm init
        • swarm join
        • swarm leave
        • swarm update
        • tag
        • top
        • unpause
        • update
        • version
        • volume create
        • volume inspect
        • volume ls
        • volume rm
        • wait
        • node accept
        • node promote
        • node demote
        • node inspect
        • node update
        • node tasks
        • node ls
        • node rm
      • API リファレンス
    • Engine 1.10 への移行
    • 破壊的変更
    • 廃止機能
    • よくある質問と回答(FAQ)
    • Swarm管理(1.12RC)

Docker Compose

  • Docker Compose

Docker Hub

  • Docker Hub

Docker Machine

  • Docker Machine

Docker Toolbox

  • Docker Toolbox

コンポーネント・プロジェクト

  • Docker Registry
  • Docker Swarm

Docker について

  • リリース・ノート
  • 用語集
  • 日本語版について
  • Docker ドキュメント逆引きガイド
  • Docker ドキュメント日本語版 PDF ダウンロード

Docs アーカイブ

  • v1.11
  • v1.10
  • v1.9
Docker-docs-ja
  • Docs »
  • Docker Engine »
  • Engine リファレンス »
  • コマンドライン・リファレンス »
  • search
  • Edit on GitHub

search¶

使い方: docker search [オプション] 単語

Docker Hub のイメージを検索

  --filter=[]          次の条件をもとに出力をフィルタ:
                       - is-automated=(true|false)
                       - is-official=(true|false)
                       - stars=<数値> - イメージが持っている最新のスター「数」
  --help               使い方の表示
  --limit=25           出力結果の最大数
  --no-trunc           トランケート (truncate) を出力しない

Docker Hub のイメージを検索します。

共有イメージをコマンドラインで調べる詳細は、 Docker Hub で公開イメージを探す をご覧ください。

注釈

検索結果は 25 件までしか表示しません。

例¶

イメージ名で検索¶

この例は busybox を含むイメージを表示します。

$ docker search busybox
NAME                             DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
busybox                          Busybox base image.                             316       [OK]
progrium/busybox                                                                 50                   [OK]
radial/busyboxplus               Full-chain, Internet enabled, busybox made...   8                    [OK]
odise/busybox-python                                                             2                    [OK]
azukiapp/busybox                 This image is meant to be used as the base...   2                    [OK]
ofayau/busybox-jvm               Prepare busybox to install a 32 bits JVM.       1                    [OK]
shingonoide/archlinux-busybox    Arch Linux, a lightweight and flexible Lin...   1                    [OK]
odise/busybox-curl                                                               1                    [OK]
ofayau/busybox-libc32            Busybox with 32 bits (and 64 bits) libs         1                    [OK]
peelsky/zulu-openjdk-busybox                                                     1                    [OK]
skomma/busybox-data              Docker image suitable for data volume cont...   1                    [OK]
elektritter/busybox-teamspeak    Leightweight teamspeak3 container based on...   1                    [OK]
socketplane/busybox                                                              1                    [OK]
oveits/docker-nginx-busybox      This is a tiny NginX docker image based on...   0                    [OK]
ggtools/busybox-ubuntu           Busybox ubuntu version with extra goodies       0                    [OK]
nikfoundas/busybox-confd         Minimal busybox based distribution of confd     0                    [OK]
openshift/busybox-http-app                                                       0                    [OK]
jllopis/busybox                                                                  0                    [OK]
swyckoff/busybox                                                                 0                    [OK]
powellquiring/busybox                                                            0                    [OK]
williamyeh/busybox-sh            Docker image for BusyBox's sh                   0                    [OK]
simplexsys/busybox-cli-powered   Docker busybox images, with a few often us...   0                    [OK]
fhisamoto/busybox-java           Busybox java                                    0                    [OK]
scottabernethy/busybox                                                           0                    [OK]
marclop/busybox-solr

説明を省略せずに表示( --no-trunc ) —————————————-k

この例は busybox を含むイメージを表示します。少なくとも3つのスターがあるイメージを、説明を省略せずに表示します。

$ docker search --stars=3 --no-trunc busybox
NAME                 DESCRIPTION                                                                               STARS     OFFICIAL   AUTOMATED
busybox              Busybox base image.                                                                       325       [OK]
progrium/busybox                                                                                               50                   [OK]
radial/busyboxplus   Full-chain, Internet enabled, busybox made from scratch. Comes in git and cURL flavors.   8                    [OK]

検索結果の上限( --limit )¶

--limit は検索結果で表示する最大行数です。この値は 1 から 100 までの範囲で指定が必要です。デフォルトの --limit 値は 25 です。

フィルタリング¶

フィルタリング・フラグ( -f か --filter )は キー=値 ペアの形式です。複数のフィルタを指定するには、フラグを複数回使います(例: --filter "foo=bar" --filter "bif=baz" )。

現在サポートしているフィルタは次の通りです:

  • stars (整数 - イメージが持つスター数)
  • is-automated(true|false)- イメージが自動構築されたかどうか
  • is-officieal(true|false)- イメージが公式かどうか

stars¶

この例は名前に busybox を含み、3つ以上のスターを持つイメージを表示します。

$ docker search --filter stars=3 busybox
NAME                 DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
busybox              Busybox base image.                             325       [OK]
progrium/busybox                                                     50                   [OK]
radial/busyboxplus   Full-chain, Internet enabled, busybox made...   8                    [OK]

is-automated¶

この例は名前に busybox を含み、自動構築されたイメージを表示します。

$ docker search --filter is-automated busybox
NAME                 DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
progrium/busybox                                                     50                   [OK]
radial/busyboxplus   Full-chain, Internet enabled, busybox made...   8                    [OK]

is-official¶

この例は名前に busybox を含み、3つ以上のスターを持つ公式ビルド・イメージを表示します。

$ docker search --filter "is-automated=true" --filter "stars=3" busybox
NAME                 DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
progrium/busybox                                                     50                   [OK]
radial/busyboxplus   Full-chain, Internet enabled, busybox made...   8                    [OK]

参考

search
https://docs.docker.com/engine/reference/commandline/search/
Next Previous

© Copyright 2015-2016, Docker Docs Translation Ja-Jp Project.

Built with Sphinx using a theme provided by Read the Docs.