Docker-docs-ja

Guides - ガイド

  • Docker 概要
  • Docker の入手
  • 始め方 - Get started
  • Docker Desktop ハンズオン ガイド
  • 言語別ガイド
  • Docker で開発
  • Docker で構築
  • プロダクションでアプリを実行
  • 教育用リソース

Product manuals - マニュアル

  • Docker Desktop
  • Docker Engine
  • Docker Compose
  • Docker Hub
  • Docker Registry

Reference - 参考資料

  • リファレンス・参考資料
  • コマンドライン・リファレンス
  • Dockerfile リファレンス
  • Compose ファイル リファレンス
  • 用語集

Samples - サンプル

  • サンプル

Docker について

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

Docs アーカイブ

  • v20.10
  • v19.03
  • v17.06
  • v1.12
  • v1.11
  • v1.10
  • v1.9
Docker-docs-ja
  • Docker 全文検索

Docker ドキュメント 全文検索

advanced help
per page, with , order by , clip by
Results of 1 - 10 of about 52 for cache (0.003 sec.)
docker buildx build — Docker-docs-ja 24.0 ドキュメント 13337
docker buildx build docker buildx build  目次 説明  構築を開始します。 使い方  $ docker buildx build [ OPTIONS ] PATH | URL | - 補足説明  buildx build コマンドは BuildKit を使って構築を開始します。このコマンドは docker build コマンドの見 ... 張特権資格 <extra privileged entitlement>` を許可(例: network.host , security.insecure ) --build-arg 構築時の変数を設定 --cache-from 外部キャッシュのソース(例: ser/app:cache , type=local,src=path/to/dir ) --cache-to 外部キャッシュの宛先(例: ser/ap ... p:cache , type=local,src=path/to/dir ) --cgroup-parent コンテナに対する任意の親 cgroup --compress 構築コンテクストを gzip を使って ... する --metadata-file 構築結果のメタデータをファイルに書き込む --network 構築中の RUN 命令で使うネットワークモードを指定 --no-cache イメージの構築時にキャッシュを使用しない --output 、 -o アウトプット先を指定(書式:type=local,dest=path) --platform サーバ ...
https://man.mtool.work/docker/24.0/engine/reference/commandline/buildx_build.htm...
docker buildx bake — Docker-docs-ja 24.0 ドキュメント 11589
コマンドライン リファレンス Docker CLI (docker) docker buildx docker buildx bake docker buildx bake  目次 説明  ファイルから構築します。 使い方  $ docker buildx bake [ オプション ] [ 対象... ] 補足説明  bake はハイレベルな構築コマンドで ... 構築定義ファイル --load --set=*.output=type=docker の簡易形 --metadata-file 構築結果のメタデータをファイルに書き込む --no-cache イメージ構築時、キャッシュを使用しない --print 構築時以外のオプションを表示 --progress auto 進行状況の表示種類を設定( aut ... git://github.com/tonistiigi/buildx#remote-test #1 0.429 577303add004dd7efeb13434d69ea030d35f7888 refs/heads/remote-test #1 CACHED { "target" : { "default" : { "context" : "git://github.com/docker/cli#v20.10.11 " dockerfile ": " Dockerfile ", " dockerf ... xrwx 1 root root 9620 Jul 27 18:31 vendor.conf #8 0.136 /bin/sh: stop: not found イメージ構築時にキャッシュを使わない(--no-cache)  build --no-cahe と同じです。イメージの構築中にキャッシュを使いません。 構築時のオプションを表示 (--print)  任意のターゲ ...
https://man.mtool.work/docker/24.0/engine/reference/commandline/buildx_bake.html
Couchbase サービスの Docker 化 — Docker-docs-ja 24.0 ドキュメント 11455
Couchbase サービスの Docker 化 Couchbase サービスの Docker 化  目次 この例では Docker Compose を使い Couchbase サーバを起動し、 REST API を使えるように設定し、結果を確認します。 Couchbase はオープンソースです。そして、最近のウェブ、モバイル ... ST http://192.168.99.100:8091/pools/default -d memoryQuota = 300 -d indexMemoryQuota = 300 * Hostname was NOT found in DNS cache * Trying 192 .168.99.100... * Connected to 192 .168.99.100 ( 192 .168.99.100 ) port 8091 ( #0) > POST /pools/default HTTP/ ... alm = "Couchbase Server Admin / REST" * Server Couchbase Server is not blacklisted < Server: Couchbase Server < Pragma: no-cache < Date: Wed, 25 Nov 2015 22 :48:16 GMT < Content-Length: 0 < Cache-Control: no-cache < * Connection #0 to host 192.168.99. ... v http://192.168.99.100:8091/node/controller/setupServices -d 'services=kv%2Cn1ql%2Cindex' * Hostname was NOT found in DNS cache * Trying 192 .168.99.100... * Connected to 192 .168.99.100 ( 192 .168.99.100 ) port 8091 ( #0) > POST /node/controller/set ...
https://man.mtool.work/docker/24.0/engine/examples/couchbase.html
swarm モード・ルーティング・メッシュを使う — Docker-docs-ja 24.0 ドキュメント 10529
プロダクションでアプリを実行 コンテナ設定 Swarm Docker Swarm 導入チュートリアル swarm モード・ルーティング・メッシュを使う swarm モード・ルーティング・メッシュを使う  目次 Docker Engine swarm モードは、swarm の外にあるリソースからサービスが ... 構文( 推奨)を使う場合、 protocol キーで tcp か udp を指定します。 TCP のみ  長い構文: $ docker service create --name dns-cache \ --publish published = 53 ,target = 53 \ dns-cache 短い構文: $ docker service create --name dns-cache \ -p 53 :53 \ dns-c ... ache TCP と UDP  長い構文: $ docker service create --name dns-cache \ --publish published = 53 ,target = 53 \ --publish published = 53 ,target = 53 ,protocol = udp \ dns-cache 短い構文: $ do ... cker service create --name dns-cache \ -p 53 :53 \ -p 53 :53/udp \ dns-cache UDP のみ  長い構文: $ docker service create --name dns-cache \ --publish publishe ...
https://man.mtool.work/docker/24.0/engine/swarm/ingress.html
マウント — Docker-docs-ja 24.0 ドキュメント 10320
Docker で構築 マウント マウント  目次 このセクションでは、Docker の構築( docker build )で :ruby:`キャッシュ マウント <cache mount>` と :ruby:`バインド マウント <bind mount>` を使う方法を説明します。 キャッシュマウントでは、構築中に使用す ... る固定されたパッケージのキャッシュを指定できます。 :ruby:`固定されたキャッシュ <persistent cache>` は構築ステップの速度向上に役立ちます。特に、パッケージマネージャーを使い、パッケージのインストールが発生するステップに役 ... るには、Dockerfile 内の RUN 命令で --mount フラグと一緒に使います。キャッシュマウントを使うには、フラグの書式は --mount=type=cache,target=<path> であり、 <path> にはコンテナ内にマウントしたいキャッシュディレクトリの場所です。 キャッシュマウントの追加  ... site.example_go_version }} -alpine AS base WORKDIR /src COPY go.mod go.sum . - RUN go mod download + RUN --mount = type = cache,target = /go/pkg/mod/ \ + go mod download -x COPY . . FROM base AS build-client - RUN go build -o /bin/client ./cmd/client ...
https://man.mtool.work/docker/24.0/build/guide/mounts.html
Compose ファイル構築リファレンス — Docker-docs-ja 24.0 ドキュメント 9379
Compose ファイル リファレンス Compose ファイル構築リファレンス Compose ファイル構築リファレンス  目次 Compose 仕様とは、複数のコンテナアプリケーションを定義するための、プラットフォームに中立な手法です。Compose の実装で焦点をあてているのは、 ... として設定された SSH 鍵をマウントすると、リソースへ安全なアクセスできます: RUN --mount=type=ssh,id=myproject git clone ... cache_from  cache_from は、イメージビルダがキャッシュの解決に :ruby:`使うべき <SHOULD>` ソースのリストを定義します。 キャッシュ ... を定義しています。 registry は、キー ref によって設定された OCI イメージから構築キャッシュを取得します。 build : context : . cache_from : - alpine:latest - type=local,src=path/to/cache - type=gha サポートされていないキャッシュは無視が :ruby:`必要で <MUS ... T>` 、ユーザによるイメージ構築を妨げてはいけません。 cache_to  cache_to は、以後の構築時に構築キャッシュとして共有するために使えるよう、エクスポートする場所のリストを定義します。 b ...
https://man.mtool.work/docker/24.0/compose/compose-file/build.html
アプリケーションに CI/CD を設定 — Docker-docs-ja 24.0 ドキュメント 8991
言語別ガイド Node.js アプリケーションに CI/CD を設定 アプリケーションに CI/CD を設定  このページでは、 Docker コンテナを使う GitHub Actions CI/CD パイプラインのセットアップ手順を説明します。新しいパイプラインを設定する前に、 Ben のブログ に ... ロードする必要がないため、構築回数を減らします。さらに、 Docker Hub から取得する回数も減らします。これを実現するには GitHub cache を使えるようにする必要があります。 構築キャッシュを使うよう builder をセットアップしましょう。まず、builder 用のキャッシュ ... をセットアップする必要があります。この例では、 GitHub キャッシュを使うために保存するパスとキーを追加します。 - name : Cache Docker layers uses : actions/cache@v2 with : path : /tmp/.buildx-cache key : ${{ runner.os }}-buildx-${{ github.sha }} res ... tore-keys : | ${{ runner.os }}-buildx- そして遂に、 builder と :ruby:`構築キャッシュ断片 <build cache snippet>` を Actions ファイルの先頭に追加したら、build と push ステップのために追加属性を加える必要があります。こちらを含み ...
https://man.mtool.work/docker/24.0/language/nodejs/configure-ci-cd.html
アプリケーションに CI/CD を設定 — Docker-docs-ja 24.0 ドキュメント 8991
言語別ガイド Python アプリケーションに CI/CD を設定 アプリケーションに CI/CD を設定  このページでは、 Docker コンテナを使う GitHub Actions CI/CD パイプラインのセットアップ手順を説明します。新しいパイプラインを設定する前に、 Ben のブログ に ... ロードする必要がないため、構築回数を減らします。さらに、 Docker Hub から取得する回数も減らします。これを実現するには GitHub cache を使えるようにする必要があります。 構築キャッシュを使うよう builder をセットアップしましょう。まず、builder 用のキャッシュ ... をセットアップする必要があります。この例では、 GitHub キャッシュを使うために保存するパスとキーを追加します。 - name : Cache Docker layers uses : actions/cache@v2 with : path : /tmp/.buildx-cache key : ${{ runner.os }}-buildx-${{ github.sha }} res ... tore-keys : | ${{ runner.os }}-buildx- そして遂に、 builder と :ruby:`構築キャッシュ断片 <build cache snippet>` を Actions ファイルの先頭に追加したら、build と push ステップのために追加属性を加える必要があります。こちらを含み ...
https://man.mtool.work/docker/24.0/language/python/configure-ci-cd.html
マルチステージ ビルドを使う — Docker-docs-ja 24.0 ドキュメント 8109
マルチステージ ビルドを使う マルチステージ ビルドを使う  目次 :ruby:`マルチステージ ビルド <multi-stage build>` とは、Dockerfile の読みやすさやメンテナンスのしやすさを維持するよう、最適化に悩まされている全ての人に役立ちます。 マルチステージ ... よっては行の最後で \ 文字を使うのを忘れがちです。 Dockerfile : # syntax=docker/dockerfile:1 FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY app ./ CMD [ "./app" ] build.sh : #!/bin/sh echo Building alexellis2/href-counter: ... ellis/href-counter/app ./app docker container rm -f extract echo Building alexellis2/href-counter:latest docker build --no-cache -t alexellis2/href-counter:latest . rm ./app build.sh スクリプトを実行するにあたり、まずイメージを構築する必要があります。 ... ml COPY app.go ./ RUN CGO_ENABLED = 0 GOOS = linux go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from = 0 /go/src/github.com/alexellis/href-counter/app ./ CMD [ "./app" ] あなた ...
https://man.mtool.work/docker/24.0/build/building/multi-stage.html
apt-cacher-ng サービスの Docker 化 — Docker-docs-ja 24.0 ドキュメント 7915
apt-cacher-ng サービスの Docker 化 apt-cacher-ng サービスの Docker 化  目次 複数の Docker サーバを持っている場合や、Docker 構築キャッシュを使わない Docker コンテナを構築する場合は、パッケージ用のキャッシュ・プロキシを使うと便利です。このコ ... ダウンロード済みの環境から二次ダウンロードできるようにします。 以下の Dockerfile を使います。 # # Build: docker build -t apt-cacher . # Run: docker run -d -p 3142:3142 --name apt-cacher-run apt-cacher # # and then you can run containers with: # docker r ... nning the Docker daemon # which acts as an APT proxy server. FROM ubuntu MAINTAINER SvenDowideit@docker.com VOLUME [ "/var/cache/apt-cacher-ng" ] RUN apt-get update && apt-get install -y apt-cacher-ng EXPOSE 3142 CMD chmod 777 /var/cache/apt-cacher-ng ... && /etc/init.d/apt-cacher-ng start && tail -f /var/log/apt-cacher-ng/* イメージを構築するには、次のようにします。 $ docker build -t eg_apt_cacher_n ...
https://man.mtool.work/docker/24.0/engine/examples/apt-cacher-ng.html
PREV 1 2 3 4 5 6 NEXT

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

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