Docker ドキュメント 全文検索
Results of 1 - 10 of about 55 for target (0.004 sec.)
- docker buildx bake — Docker-docs-ja 24.0 ドキュメント 14162
- コマンドライン リファレンス Docker CLI (docker) docker buildx docker buildx bake docker buildx bake 目次 説明 ファイルから構築します。 使い方 $ docker buildx bake [ オプション ] [ 対象... ] 補足説明 bake はハイレベルな構築コマンドで
...pull 常にイメージの新しいバージョンの取得を試みる --push --set=*.output=type=registry の簡易形 --set 対象の値を上書き(例: targetpattern.key=value ) --builder ビルダー・インスタンスの設定を上書き 使用例 builder 対象の設定を上書き (--builder) build...2 From git://github.com/docker/cli 1 2 .022 * [ new tag ] v20.10.11 -> v20.10.11 1 DONE 2 .9s { "group" : { "default" : { "targets" : [ "binary" ] } } , "target" : { "binary" : { "context" : "git://github.com/docker/cli#v20.10.11 " dockerfile ": " Dock...erfile ", " args ": { " BASE_VARIANT ": " alpine ", " GO_STRIP ": "", " VERSION ": "" }, " target ": " binary ", " platforms ": [ " local " ], " output ": [ " build " ] } } } 見ての通り、定義において コンテクストが存在し... - https://man.mtool.work/docker/24.0/engine/reference/commandline/buildx_bake.html
- マウント — Docker-docs-ja 24.0 ドキュメント 12388
- Docker で構築 マウント マウント 目次 このセクションでは、Docker の構築( docker build )で :ruby:`キャッシュ マウント <cache mount>` と :ruby:`バインド マウント <bind mount>` を使う方法を説明します。 キャッシュマウントでは、構築中に使用す
...Dockerfile 内の RUN 命令で --mount フラグと一緒に使います。キャッシュマウントを使うには、フラグの書式は --mount=type=cache,target=<path> であり、 <path> にはコンテナ内にマウントしたいキャッシュディレクトリの場所です。 キャッシュマウントの追加 キャッシ...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 + RUN...--mount = type = cache,target = /go/pkg/mod/ \ + go build -o /bin/client ./cmd/client FROM base AS build-server - RUN go build -o /bin/server ./cmd/serv... - https://man.mtool.work/docker/24.0/build/guide/mounts.html
- :ruby:`バインド マウント <bind mount>` の使用 — Docker-docs-ja 24.0 ドキュメン... 11871
- プロダクションでアプリを実行 ストレージ概要 :ruby:`バインド マウント <bind mount>` の使用 :ruby:`バインド マウント <bind mount>` の使用 目次 :ruby:`バインド マウント <bind mount>` は初期の Docker から存在しています。 ボリューム と比較する
...ination (マウント先)の値は、コンテナ内にマウントされるファイルやディレクトリのパスがどこかを示す。 destination 、 dst 、 target のどれかを指定。 readonly (読み込み専用)オプションがあれば、バインド マウントは 読み込み専用としてコンテナ内にマウント さ...ィレクトリがあると想定します。ここをソースコードの構築時に使いますが、アーティファクト(構築結果)は他のディレクトリ source/target/ に保存します。アーティファクトをコンテナの /app/ で使いたい場合や、コンテナが新しく構築するたびに、開発ホスト上のバインド...元へとアクセスしたい場合があるでしょう。以下のコマンドを使い、 target/ ディレクトリをコンテナの /app/ にバインドマウントします。そして source ディレクトリの中でコマンドを実行します。 $(pwd) サ... - https://man.mtool.work/docker/24.0/storage/bind-mounts.html
- 通知 — Docker-docs-ja 24.0 ドキュメント 9653
- Docker Registry 通知 通知 目次 Registry は webhook 通知をサポートしています。レジストリ内で何らかのイベントが発生したら、それに対応して通知を送れます。通知はマニフェストの送受信とレイヤの送受信に対応しています。これらのアクションはイベント
...ations are sent to endpoints via HTTP requests. Each configured endpoint has isolated queues, retry configuration and http targets within each instance of a registry. When an action happens within the registry, it is converted into an event which is dr...ue id that can be used to uniquely identify incoming requests, if required. Along with that, an action is provided with a _target, identifying the object mutated during the event. The fields available in an event are described in detail in the godoc. T...sponse to the push of a manifest: { "id": "asdf-asdf-asdf-asdf-0", "timestamp": "2006-01-02T15:04:05Z", "action": "push", "target": { "mediaType": "application/vnd.docker.distribution.manifest.v1+json", "size": 1, "digest": "sha256:0123456789abcdef0",... - https://man.mtool.work/docker/24.0/registry/notifications.html
- swarm モード・ルーティング・メッシュを使う — Docker-docs-ja 24.0 ドキュメント 8988
- プロダクションでアプリを実行 コンテナ設定 Swarm Docker Swarm 導入チュートリアル swarm モード・ルーティング・メッシュを使う swarm モード・ルーティング・メッシュを使う 目次 Docker Engine swarm モードは、swarm の外にあるリソースからサービスが
...。 サービス用にポートを公開 サービスの作成時にポートを公開するには、 --publish フラグを使います。コンテナ内のポート指定は target を使い、かつ、ルーティング・メッシュ上にバインドするポート指定に published を使います。もしも published ポートの指定がなけ...タスクの調査(inspect)が必要になります。 $ docker service create \ --name <サービス名> \ --publish published = <公開ポート>,target = <コンテナ側ポート> \ <イメージ> 注釈 旧形式の構文は、 -p 8080:80 のように、まず公開用のポートがあり、次にターゲット用ポー...スできるのは、そのホストで利用可能な IP アドレスのみです。 $ docker service update \ --publish-add published = <公開ポート>,target = <コンテナ・ポート> \ <サービス> サービスの公開ポートは docker service inspect で調べられます。例: $ docker service inspe... - https://man.mtool.work/docker/24.0/engine/swarm/ingress.html
- :ruby:`バインド マウント <bind mount>` の使用 — Docker-docs-ja 24.0 ドキュメン... 8988
- 始め方 - Get started :ruby:`バインド マウント <bind mount>` の使用 :ruby:`バインド マウント <bind mount>` の使用 目次 Part 5 ではデータベース内のデータを保持するため、ボリュームのマウントを使いました。アプリケーションのデータをどこかに保持
...ド マウント <bind mount>` ホスト上の場所 Docker が選択 自分で決める マウント例( --mount を使用) type=volume,src=my-volume,target=/usr/local/data type=bind,src=/path/to/data,target=/usr/local/data コンテナの内容に新しいボリュームを加える はい いいえ ボ...ンドマウントした ubuntu コンテナで bash を実行します。 Mac / Linux $ docker run -it --mount type = bind,src = " $( pwd ) " ,target = /src ubuntu bash Windows PowerShell でコマンドを実行します。 $docker run -it --mount "type=bind,src= $pwd ,target=/src"...バインドマウントの作成を命令します。 src で示す場所は、ホストマシン上の現在の作業ディレクトリ( getting-started/app )です。 target で示す場所は、コンテナ内に現れるディレクトリ( /src )です。 コマンドの実行後、コンテナが持つファイルシステムのルートディレ... - https://man.mtool.work/docker/24.0/get-started/06_bind_mounts.html
- docker image tag — Docker-docs-ja 24.0 ドキュメント 8308
- コマンドライン リファレンス Docker CLI (docker) docker image docker image tag docker image tag 目次 説明 :ruby:`対象イメージ <TARGET_IMAGE>` に :ruby:`元イメージ <SOURCE_IMAGE>` を参照する :ruby:`タグ <tag>` を作成します。 使い方 $ do
...cker image tag SOURCE_IMAGE [ :TAG ] TARGET_IMAGE [ :TAG ] 親コマンド コマンド 説明 docker image イメージの管理 関連コマンド コマンド 説明 docker image build Dock...1つまたは複数イメージを tar アーカイブに保存(デフォルトで標準出力にストリーミング) docker image tag :ruby:`対象イメージ <TARGET_IMAGE>` に :ruby:`元イメージ <SOURCE_IMAGE>` を参照する :ruby:`タグ <tag>` を作成 参考 docker image tag https://docs.docke... - https://man.mtool.work/docker/24.0/engine/reference/commandline/image_tag.html
- ホスト上にコンテナのポートを割り当て — Docker-docs-ja 24.0 ドキュメント 7790
- ホスト上にコンテナのポートを割り当て ホスト上にコンテナのポートを割り当て 目次 このセクションでは、 Docker のデフォルト・ブリッジ内にあるコンテナに対して、ポートを割り当てる方法を説明します。このネットワークは bridge という名称の bridge ネ
...ールであり、Docker サーバ起動時に自動的に作成されます。 $ sudo iptables -t nat -L -n ... Chain POSTROUTING ( policy ACCEPT ) target prot opt source destination MASQUERADE all -- 172 .17.0.0/16 0 .0.0.0/0 ... Docker サーバが作成するマスカレード・ルールは、...見えます。 # Docker で -P 転送を指定した時、NAT ルールがどうなるか $ iptables -t nat -L -n ... Chain DOCKER ( 2 references ) target prot opt source destination DNAT tcp -- 0 .0.0.0/0 0 .0.0.0/0 tcp dpt:49153 to:172.17.0.2:80 # Docker で -p 80:80 を指定し...た時、NAT ルールがどうなるか Chain DOCKER ( 2 references ) target prot opt source destination DNAT tcp -- 0 .0.0.0/0 0 .0.0.0/0 tcp dpt:80 to:172.17.0.2:80 Docker はこれらコンテナ側のポート... - https://man.mtool.work/docker/24.0/engine/userguide/networking/default_network/b...
- ホスト上にコンテナのポートを割り当て — Docker-docs-ja 24.0 ドキュメント 7790
- ホスト上にコンテナのポートを割り当て ホスト上にコンテナのポートを割り当て 目次 このセクションでは、 Docker のデフォルト・ブリッジ内にあるコンテナに対して、ポートを割り当てる方法を説明します。このネットワークは bridge という名称の bridge ネ
...ールであり、Docker サーバ起動時に自動的に作成されます。 $ sudo iptables -t nat -L -n ... Chain POSTROUTING ( policy ACCEPT ) target prot opt source destination MASQUERADE all -- 172 .17.0.0/16 0 .0.0.0/0 ... Docker サーバが作成するマスカレード・ルールは、...見えます。 # Docker で -P 転送を指定した時、NAT ルールがどうなるか $ iptables -t nat -L -n ... Chain DOCKER ( 2 references ) target prot opt source destination DNAT tcp -- 0 .0.0.0/0 0 .0.0.0/0 tcp dpt:49153 to:172.17.0.2:80 # Docker で -p 80:80 を指定し...た時、NAT ルールがどうなるか Chain DOCKER ( 2 references ) target prot opt source destination DNAT tcp -- 0 .0.0.0/0 0 .0.0.0/0 tcp dpt:80 to:172.17.0.2:80 Docker はこれらコンテナ側のポート... - https://man.mtool.work/docker/24.0/network/default_network/binding.html
- Compose ファイル version 3 リファレンス — Docker-docs-ja 24.0 ドキュメント 7717
- Compose ファイル リファレンス 以前のバージョン Compose ファイル version 3 リファレンス Compose ファイル version 3 リファレンス 目次 リファレンスと方針 以下のトピックでは、 Compose ファイル形式バージョン3について説明します。 Compose と D
...値として表すか、 バイト値 の文字列で表します。 build : context : . shm_size : '2gb' build : context : . shm_size : 10000000 target ヒント Compose 形式 バージョン 3.4 で追加されました。 Dockerfile の中で定義された :ruby:`ステージ <stage>` を指定して構築...します。詳細は マルチステージ・ビルド をご覧ください。 build : context : . target : prod cap_add, cap_drop コンテナの :ruby:`ケーパビリティ <capabilities>` を追加・削除します。ケーパビリティの一覧は man...ビスタスク用のコンテナ内で作成される設定を、より細かく指定します。 source :この設定自身、そのものを識別するための設定です。 target :サービスタスクのコンテナ内でマウントする、ファイル名とパスです。指定が無ければ、 /<source> がデフォルトです。 uid と gid... - https://man.mtool.work/docker/24.0/compose/compose-file/compose-file-v3.html