Docker ドキュメント 全文検索
Results of 1 - 10 of about 15 for main (0.003 sec.)
- PostgreSQL の Docker 化 — Docker-docs-ja 24.0 ドキュメント 13950
- PostgreSQL の Docker 化 PostgreSQL の Docker 化 目次 Docker に PostgreSQL をインストール ここでは Docker Hub で配布されている Docker イメージを使いますが、自分自身で作成しても構いません。 まず、新しい Dockerfile を作成します。 注釈 この
...適切に調整ください。 # # https://docs.docker.com/examples/postgresql_service/ にあるサンプルの Dockerfile です # FROM ubuntu MAINTAINER SvenDowideit@docker.com # Add the PostgreSQL PGP key to verify their Debian packages. # It should be the same key as...e most recent stable release # of PostgreSQL, ``9.3``. RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list # Install ``python-software-properties``, ``software-properties-common`` and PostgreS...on so that remote connections to the # database are possible. RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.3/main/pg_hba.conf # And add ``listen_addresses`` to ``/etc/postgresql/9.3/main/postgresql.conf`` RUN echo "listen_addresses='*'"... - https://man.mtool.work/docker/24.0/engine/examples/postgresql_service.html
- Debian — Docker-docs-ja 24.0 ドキュメント 10693
- Docker Engine ユーザガイド Get Docker - Docker を手に入れる Docker CE Debian Debian 目次 Docker は以下の Debian バージョンをサポートしています。 Debian testing stretch (64-bit) Debian 8.0 Jessie (64-bit) Debian 7.7 Wheezy (64-bit) (バック
...ます。 Debian Wheezy にバックポートのエントリを追加します。 エントリの例 deb http://http.debian.net/debian wheezy-backports main パッケージ情報を更新します。 $ apt-get update apt ソースの更新 Docker 1.7.1 以上は Docker の apt リポジトリに保管されてい...ントリを追加します。 利用可能なエントリは以下の通りです。 Debian Wheezy deb https://apt.dockerproject.org/repo debian-wheezy main Debian Jessie deb https://apt.dockerproject.org/repo debian-jessie main Debian Stretch/Sid deb https://apt.dockerproject.o...rg/repo debian-stretch main ファイルを保存して閉じます。 APT パッケージのインデックスを更新します。 $ apt-get update APT が正しいリポジトリから取得して... - https://man.mtool.work/docker/24.0/engine/install/linux/docker-ce/debian.html
- コンテナ内で複数のサービスを実行 — Docker-docs-ja 24.0 ドキュメント 10554
- プロダクションでアプリを実行 コンテナ設定 コンテナ内で複数のサービスを実行 コンテナ内で複数のサービスを実行 目次 コンテナでメインとして実行するプロセスは、 Dockerfile の最後に書かれている ENTRYPOINT か CMD か、あるいは両方によって指定しま
...クリプトです。 #!/bin/bash # turn on bash's job control set -m # Start the primary process and put it in the background ./my_main_process & # Start the helper process ./my_helper_process # the my_helper_process might need to know how to wait on the # p...mary process back into the foreground # and leave it there fg %1 # syntax=docker/dockerfile:1 FROM ubuntu : latest COPY my_main_process my_main_process COPY my_helper_process my_helper_process COPY my_wrapper_script . sh my_wrapper_script . sh CMD ./...d メイン first 方法 second helper サービス ラッパー スクリプト wrapper script bash Start conf Dockerfile 起動 管理 primary main docker supervisor アプリケーション... - https://man.mtool.work/docker/24.0/config/containers/multi-service_container.htm...
- コンテナ内で複数のサービスを実行 — Docker-docs-ja 24.0 ドキュメント 9543
- コンテナ内で複数のサービスを実行 コンテナ内で複数のサービスを実行 目次 コンテナでメインとして実行するプロセスは、 Dockerfile の最後に書かれている ENTRYPOINT か CMD か、あるいは両方によって指定します。一般的に推奨するのは、1つのサービスごと
...クリプトです。 #!/bin/bash # turn on bash's job control set -m # Start the primary process and put it in the background ./my_main_process & # Start the helper process ./my_helper_process # the my_helper_process might need to know how to wait on the # p...eturns # now we bring the primary process back into the foreground # and leave it there fg %1 FROM ubuntu : latest COPY my_main_process my_main_process COPY my_helper_process my_helper_process COPY my_wrapper_script . sh my_wrapper_script . sh CMD ./... - https://man.mtool.work/docker/24.0/config/containers/logging/logging.html
- Docker で構築 — Docker-docs-ja 24.0 ドキュメント 8551
- Docker で構築 Docker で構築 Docker で構築 目次 このガイドでは、シンプルな Go 言語のプロジェクトと Dockerfile を含むリソースから始めます。このガイドの開始時点から、Docker でアプリケーションを構築する方法を改善するための、様々な方法を紹介し
...型アプリケーションです。 こちらはプロジェクト内に含まれるファイルの一覧です。 . ├── Dockerfile ├── cmd │ ├── client │ │ ├── main.go │ │ ├── request.go │ │ └── ui.go │ └── server │ ├── main.go │ └── translate.go ├── go.mod └── go.sum cmd/ ディレクトリに...リケーションの構築手順を定義します。 Dockerfile には Dockerfile :ruby:`構文 <syntax>` と呼ばれる :ruby:`ドメイン固有言語 <domain-specific language>` を書きます。 以下は、このガイドで使う現時点の Dockerfile です。 # syntax=docker/dockerfile:1 FROM gola... - https://man.mtool.work/docker/24.0/build/guide/intro.html
- BuildKit でイメージ構築 — Docker-docs-ja 24.0 ドキュメント 7993
- BuildKit でイメージ構築 BuildKit でイメージ構築 目次 Docker Build は Docker Engine で最も使われる機能の1つです。利用者、開発チーム、リリースチームに至る利用者の全てが Docker Build を使います。 リリース 18.09 では、強く求められていた構築方
...=type=secret と同様、構築するたびに複数のソケットを使い分けたい場合には、 id を指定できます。たとえば、 docker build --ssh main=$SSH_AUTH_SOCK --ssh other=$OTHER_SSH_AUTH_SOCK のように実行できます。 Dockerfile 内で、これら2つのソケットを使うには RUN...--mount=type=ssh,id=main か RUN --mount=type=ssh,id=other とします。もしも --mount=type=ssh のように id を指定しなければ、 default が想定されます。... - https://man.mtool.work/docker/24.0/develop/develop-images/build_enhancements.htm...
- Compose Specification(仕様) — Docker-docs-ja 24.0 ドキュメント 7854
- Compose ファイル リファレンス Compose Specification(仕様) Compose Specification(仕様) 目次 Compose ファイルとは、Docker アプリケーション用のサービス、ネットワーク、ボリュームを定義した YAML ファイル です。最新かつ推奨される Compose フ
...します。単一の値、もしくはリストで設定できます。 dns_search : example.com dns_search : - dc1.example.com - dc2.example.com domainname domainname では、サービス用コンテナが使う任意のドメイン名を宣言します。これは有効な RFC 1123 ホスト名の :ruby:`必要が...示されたサービスが見つからない file で示された Compose ファイルが見つからない サービス定義の統合 2つのサービス定義(1つは main で現在の Compose ファイル、もう1つは extends で指定した referenced として参照されるもの)は、以下の方法で統合する :ruby:`必...要があります <MUST>` :ruby:`マッピング <mapping>` : main サービス定義のマッピング内のキーは、 referenced サービス定義のマッピング内のキーを上書きします。上書きされないキーは、その... - https://man.mtool.work/docker/24.0/compose/compose-file/
- PowerShell DSC で使う — Docker-docs-ja 24.0 ドキュメント 7854
- PowerShell DSC で使う PowerShell DSC で使う 目次 Windows PowerShell DSC (Desired State Configuration) は設定管理ツールです。これは Windows PowerShell の機能を拡張します。DSC は宣言型の構文を使いターゲットがどのような状態になるかを設定しま
...80 --recv-keys \ 36A1D7869245C8950F966E92D8576A8BA88D21E9 sh -c "echo deb https://apt.dockerproject.org/repo ubuntu-trusty main\ > /etc/apt/sources.list.d/docker.list" apt-get update apt-get install docker-engine 現在の作業ディレクトリが DockerClient... - https://man.mtool.work/docker/24.0/engine/admin/dsc.html
- Compose Dev Environment の作成 — Docker-docs-ja 24.0 ドキュメント 7697
- Docker Desktop Dev Environments (Beta) Compose Dev Environment の作成 Compose Dev Environment の作成 目次 Dev Environment を使い、 Docker Compose をベースとしたプロジェクトをコラボレーションします。 シンプルな Dev Environment として、以下
...org/repo COPY . . RUN go build -o server . FROM build AS development RUN apk update \ && apk add git CMD [ "go" , "run" , "main.go" ] FROM alpine:3.12 EXPOSE 8000 COPY --from = build /go/src/github.com/org/repo/server /server CMD [ "/server" ] develo... - https://man.mtool.work/docker/24.0/desktop/dev-environments/create-compose-dev-e...
- CFEngine でプロセス管理 — Docker-docs-ja 24.0 ドキュメント 7697
- CFEngine でプロセス管理 CFEngine でプロセス管理 目次 プロセスを管理する Docker コンテナを作成します。 Docker は各実行中のコンテナで1つのプロセスを監視します。そして、コンテナの生死とは、そのプロセスの生死を指します。Docker コンテナ内での
...プリケーション・プロセスを開始します。 イメージの構築 以下のように、Dockerfile の1~2ステップで設定できます。 FROM ubuntu MAINTAINER Eystein Måløy Stenberg <eytein.stenberg@gmail.com> RUN apt-get update && apt-get install -y wget lsb-release unzip c...N wget -qO- http://cfengine.com/pub/gpg.key | apt-key add - RUN echo "deb http://cfengine.com/pub/apt $( lsb_release -cs ) main" > /etc/apt/sources.list.d/cfengine-community.list RUN apt-get update && apt-get install -y cfengine-community # install c... - https://man.mtool.work/docker/24.0/engine/admin/cfengine_process_management.html