Docker ドキュメント 全文検索
Results of 1 - 10 of about 56 for cache (0.003 sec.)
- docker buildx build 13673
- 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 11286
- docker buildx bake 目次 説明 ファイルから構築します。 使い方 $ docker buildx bake [ オプション ] [ 対象... ] 補足説明 bake はハイレベルな構築コマンドです。構築時に、それぞれの指定対象を並列実行します。 導入には High-level build options をご
...構築定義ファイル --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 化 11094
- Couchbase サービスの Docker 化 目次 この例では Docker Compose を使い Couchbase サーバを起動し、 REST API を使えるように設定し、結果を確認します。 Couchbase はオープンソースです。そして、最近のウェブ、モバイル、IoT アプリケーション向けのドキ
...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
- マウント 10299
- マウント 目次 このセクションでは、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
- swarm モード・ルーティング・メッシュを使う 10225
- swarm モード・ルーティング・メッシュを使う 目次 Docker Engine swarm モードは、swarm の外にあるリソースからサービスが利用できるように、ポートを簡単に公開できるようにします。全ての参加ノードは ingress ルーティング・メッシュ (routing mesh)内
...い構文( 推奨)を使う場合、 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 published... - https://man.mtool.work/docker/24.0/engine/swarm/ingress.html
- Compose ファイル構築リファレンス 9827
- 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 は、以後の構築時に構築キャッシュとして共有するために使えるよう、エクスポートする場所のリストを定義します。 bui... - https://man.mtool.work/docker/24.0/compose/compose-file/build.html
- アプリケーションに CI/CD を設定 9429
- アプリケーションに CI/CD を設定 このページでは、 Docker コンテナを使う GitHub Actions CI/CD パイプラインのセットアップ手順を説明します。新しいパイプラインを設定する前に、 Ben のブログ にある CI/CD ベストプラクティスをご覧になるのを推奨します
...ロードする必要がないため、構築回数を減らします。さらに、 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 を設定 9429
- アプリケーションに CI/CD を設定 このページでは、 Docker コンテナを使う GitHub Actions CI/CD パイプラインのセットアップ手順を説明します。新しいパイプラインを設定する前に、 Ben のブログ にある CI/CD ベストプラクティスをご覧になるのを推奨します
...ロードする必要がないため、構築回数を減らします。さらに、 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
- マルチステージ ビルドを使う 7720
- マルチステージ ビルドを使う 目次 :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
- docker builder build 7588
- docker builder build 目次 説明 Dockerfile からイメージを :ruby:`構築 <build>` します。 【API 1.31+】このコマンドを使うには、クライアントとデーモンの両方が最小 1.31 を使う必要があります。クライアントとデーモン API バージョンを確認するには、ク
...ョン 名前, 省略形 デフォルト 説明 --add-host ホストから任意の IP 割り当てを追加(host:ip) --build-arg 構築時の変数を指定 --cache-from キャッシュ元とみなすイメージ --cgroup-parent コンテナに対するオプションの親 cgroup --compress 構築コンテクストを gzip...できる swap 上限。なお -1 は swap を無制限 --network 【API 1.25+】構築時、 RUN 命令を実行中のネットワーク・モードを指定 --no-cache イメージ構築中にキャッシュを使用しない --output , -o 【API 1.40+】出力先(形式:type=local,dest=path) --platform 【API 1.3...docs.docker.com/engine/reference/commandline/builder_build/ 他のマニュアルの関連ページ Linux JM bootparams(5) PHP realpath_cache_size() FastAPI コンテナ内のFastAPI Linux JM set_mempolicy(2) DuckDB macOS PHP shmop.setup... - https://man.mtool.work/docker/24.0/engine/reference/commandline/builder_build.ht...