Docker ドキュメント 全文検索
Results of 1 - 10 of about 31 for exit (0.002 sec.)
- docker-compose up — Docker-docs-ja 24.0 ドキュメント 14333
- コマンドライン リファレンス コマンドライン・リファレンス docker-compose up docker-compose up 使い方: docker-compose up [ オプション ] [ --scale サービス = 数... ] [ サービス... ] オプション: -d, --detach デタッチド・モード: バックグラウン
...ドでコンテナを実行し、新しいコンテナ名を表示 --abort-on-container-exit と同時に使えない --no-color 白黒で画面に表示 --quiet-pull 進捗情報を表示しない --no-deps リンクしたサービスを起動しない --...くても構築しない --no-start 作成してもサービスを起動しない --build コンテナを開始前にイメージを構築する --abort-on-container-exit コンテナが1つでも停止したら全てのコンテナを停止 -d と同時に使えない --attach-dependencies 依存するコンテナにアタッチ -t, -...らデータを再利用せず、匿名ボリュームの再作成 --remove-orphans Compose ファイルで定義されていないサービス用のコンテナを削除 --exit-code-from SERVICE 指定されたサービスコンテナの終了コードを返す --abort-on-container-exit の指定を暗に含む --scale SERVICE... - https://man.mtool.work/docker/24.0/compose/reference/up.html
- コンテナ内で複数のサービスを実行 — Docker-docs-ja 24.0 ドキュメント 12149
- コンテナ内で複数のサービスを実行 コンテナ内で複数のサービスを実行 目次 コンテナでメインとして実行するプロセスは、 Dockerfile の最後に書かれている ENTRYPOINT か CMD か、あるいは両方によって指定します。一般的に推奨するのは、1つのサービスごと
...st process ./my_first_process -D status = $? if [ $status -ne 0 ] ; then echo "Failed to start my_first_process: $status " exit $status fi # Start the second process ./my_second_process -D status = $? if [ $status -ne 0 ] ; then echo "Failed to start...my_second_process: $status " exit $status fi # Naive check runs checks once a minute to see if either of the processes exited. # This illustrates part of th...e heavy lifting you need to do if you want to run # more than one service in a container. The container exits with an error # if it detects that either of the processes has exited. # Otherwise it loops forever, waking up every 60 s... - https://man.mtool.work/docker/24.0/config/containers/logging/logging.html
- docker compose up — Docker-docs-ja 24.0 ドキュメント 11049
- コマンドライン リファレンス Docker CLI (docker) docker compose docker compose up docker compose up 目次 説明 コンテナを作成し、開始します。 使い方 $ docker compose up [ SERVICE... ] 補足説明 サービス用のコンテナを構築、(再)作成、開
...した場合、コンテナは停止させられ、終了コードは 0 になります。 オプション 名前, 省略形 デフォルト 説明 --abort-on-container-exit コンテナが1つ停止した場合、全てのコンテナを指定。-d とは両立しない --always-recreate-deps 依存関係のあるコンテナを再作成。...テナの開始前にイメージを構築 --detach , -d デタッチド・モード:バックグラウンドでコンテナを実行 --environment , -e 環境変数 --exit-code-from 選択したサービス・コンテナの終了コードを返す。 --abort-on-container-exit を意味する --force-recreate コンテナのサ..._up/ 関連キーワード compose docker コンテナ サービス 停止 イメージ 開始 recreate 構築 再作成 Compose アタッチ force コード exit 両立 build 使い方 補足 関連 logs detach バックグラウンド ボリューム フラグ... - https://man.mtool.work/docker/24.0/engine/reference/commandline/compose_up.html
- コンテナ内で複数のサービスを実行 — Docker-docs-ja 24.0 ドキュメント 10143
- プロダクションでアプリを実行 コンテナ設定 コンテナ内で複数のサービスを実行 コンテナ内で複数のサービスを実行 目次 コンテナでメインとして実行するプロセスは、 Dockerfile の最後に書かれている ENTRYPOINT か CMD か、あるいは両方によって指定しま
...# Start the first process ./my_first_process & # Start the second process ./my_second_process & # Wait for any process to exit wait -n # Exit with status of process that exited first exit $? 1つのメイン・プロセスは一番初めに起動して、実行し続ける必要... - https://man.mtool.work/docker/24.0/config/containers/multi-service_container.htm...
- docker attach — Docker-docs-ja 24.0 ドキュメント 8493
- コマンドライン リファレンス Docker CLI (docker) docker attach docker attach 参考 docker container attach https://docs.docker.com/engine/reference/commandline/container_attach/ 目次 説明 ローカルの(訳者注:操作中のターミナルのこと)標準入
...0 .3 0 :00.03 top ^C$ $ echo $? 0 $ docker ps -a | grep topdemo 7998ac8581f9 ubuntu:14.04 "/usr/bin/top -b" 38 seconds ago Exited ( 0 ) 21 seconds ago topdemo コンテナで実行していたコマンドの、終了コードを得る 次の2つめの例は、 docker attach コマン...ker run --name test -d -it debian 275c44472aebd77c926d4527885bb09f2f6db21d878c75f0a1c212c03d3bcfab $ docker attach test $$ exit 13 exit $ echo $? 13 $ docker ps -a | grep test 275c44472aeb debian:7 "/bin/bash" 26 seconds ago Exited ( 13 ) 17 seconds... - https://man.mtool.work/docker/24.0/engine/reference/commandline/attach.html
- コンテナで Hello world — Docker-docs-ja 24.0 ドキュメント 8493
- コンテナで Hello world コンテナで Hello world 目次 Docker とは一体何なのでしょうか? Docker はコンテナ内に作成した世界で、アプリケーションを実行可能にします。コンテナ内でアプリケーションを実行するには、 docker run コマンドを実行するだけです
...のディレクトリ一覧を表示します。典型的な Linux ファイル・システムのように見えます。 これで、コンテナ内で遊べます。終わったら exit コマンドまたは Ctrl-D を入力して終了できます。 root@af8bae53bdd3:/# exit 注釈 先ほど作成したコンテナと同様に、Bash シェルの... - https://man.mtool.work/docker/24.0/engine/tutorials/dockerizing.html
- Redis サービスの Docker 化 — Docker-docs-ja 24.0 ドキュメント 7943
- Redis サービスの Docker 化 Redis サービスの Docker 化 目次 非常にシンプルで飾り気のない Redis サービスを、リンク機能を使ってウェブ・アプリケーションにアタッチします。 Redis 用の Docker コンテナを作成 まず、新しい Redis イメージ用の Dock
...redis 172 .17.0.33:6379> set docker awesome OK $ redis 172 .17.0.33:6379> get docker "awesome" $ redis 172 .17.0.33:6379> exit ウェブ・アプリケーションが redis コンテナに接続するために、この環境変数や他の環境変数を利用できます。 参考 Dockerizing a R... - https://man.mtool.work/docker/24.0/engine/examples/running_redis_service.html
- apt-cacher-ng サービスの Docker 化 — Docker-docs-ja 24.0 ドキュメント 7765
- apt-cacher-ng サービスの Docker 化 apt-cacher-ng サービスの Docker 化 目次 複数の Docker サーバを持っている場合や、Docker 構築キャッシュを使わない Docker コンテナを構築する場合は、パッケージ用のキャッシュ・プロキシを使うと便利です。このコ
...directories containing index files. Select d to see detailed list. ( Number nn: tag distribution or architecture nn ; 0 : exit ; d: show details ; r: remove tagged ; q: quit ) : q 最後に、コンテナのテストが終わったら、クリーンアップのためにコンテナを... - https://man.mtool.work/docker/24.0/engine/examples/apt-cacher-ng.html
- Docker0 ブリッジのカスタマイズ — Docker-docs-ja 24.0 ドキュメント 7765
- Docker0 ブリッジのカスタマイズ Docker0 ブリッジのカスタマイズ 目次 このセクションでは Docker のデフォルト・ブリッジをどのようにカスタマイズするか説明します。 bridge という名称の bridge ネットワークは、Docker インストール時に自動的に作成さ
...t forever $$ ip route default via 172 .17.42.1 dev eth0 172 .17.0.0/16 dev eth0 proto kernel scope link src 172 .17.0.3 $$ exit Docker はホスト側の ip_forward システム設定が 1 でなければ、Docker ホストはコンテナのパケットをインターネット側に転送できな... - https://man.mtool.work/docker/24.0/engine/userguide/networking/default_network/c...
- Docker0 ブリッジのカスタマイズ — Docker-docs-ja 24.0 ドキュメント 7765
- Docker0 ブリッジのカスタマイズ Docker0 ブリッジのカスタマイズ 目次 このセクションでは Docker のデフォルト・ブリッジをどのようにカスタマイズするか説明します。 bridge という名称の bridge ネットワークは、Docker インストール時に自動的に作成さ
...t forever $$ ip route default via 172 .17.42.1 dev eth0 172 .17.0.0/16 dev eth0 proto kernel scope link src 172 .17.0.3 $$ exit Docker はホスト側の ip_forward システム設定が 1 でなければ、Docker ホストはコンテナのパケットをインターネット側に転送できな... - https://man.mtool.work/docker/24.0/network/default_network/custom-docker0.html