Docker ドキュメント 全文検索
Results of 1 - 10 of about 20 for failure (0.004 sec.)
- Compose ファイルバージョン v3 の例 — Docker-docs-ja 24.0 ドキュメント 13679
- Compose ファイルバージョン v3 の例 Compose ファイルバージョン v3 の例 version : "3.9" services : redis : image : redis:alpine ports : - "6379" networks : - frontend deploy : replicas : 2 update_config : parallelism : 2 delay : 10s restart
..._policy : condition : on-failure db : image : postgres:9.4 volumes : - db-data:/var/lib/postgresql/data networks : - backend deploy : placement : max_repli...ks : - frontend depends_on : - redis deploy : replicas : 2 update_config : parallelism : 2 restart_policy : condition : on-failure result : image : dockersamples/examplevotingapp_result:before ports : - "5001:80" networks : - backend depends_on : - db d...eploy : replicas : 1 update_config : parallelism : 2 delay : 10s restart_policy : condition : on-failure worker : image : dockersamples/examplevotingapp_worker networks : - frontend - backend deploy : mode : replicated replicas... - https://man.mtool.work/docker/24.0/compose/compose-file/example-v3.html
- docker service create — Docker-docs-ja 24.0 ドキュメント 11385
- コマンドライン リファレンス Docker CLI (docker) docker service docker service create docker service create 目次 説明 【API 1.24+】このコマンドを使うには、クライアントとデーモン API の両方が、少なくとも 1.25 の必要があります。クライアント
...0 = 無制限) --reservice-cpu CPU 予約 --reserve-memory メモリ予約 --restart-condition 状況が発生した時に再起動( none | on-failure | any )(デフォルトは any ) --restart-delay 再起動を試みるまでの遅延( ns | us | ms | s | m | h )(デフォルト 5s ) --r...-rollback-delay 【API 1.28+】タスクをロールバックするまでの遅延( ns | us | ms | s | m | h )(デフォルト 0s ) --rollback-failure-action 【API 1.28+】ロールバック失敗時の処理( pause | continue )(デフォルト pause ) --rollback-max-failure-ratio 【API...1.28+】ロールバックを許容する :ruby:`障害率 <failure rate>` (デフォルト 0) --rollback-monitor 【API 1.28+】各タスクのロールバックが失敗するまで監視する時間( ns | us | ms |... - https://man.mtool.work/docker/24.0/engine/reference/commandline/service_create.h...
- Swarm の再スケジュール・ポリシー — Docker-docs-ja 24.0 ドキュメント 11266
- Swarm の再スケジュール・ポリシー Swarm の再スケジュール・ポリシー 目次 Docker Swarm で再スケジュール・ポリシーを設定できます。再スケジュール・ポリシーとは、コンテナを実行中のノードが落ちた時、再起動するかどうかを決めます。 再スケジュール・
...シーは off になります。つまり、ノードで障害が発生しても Swarm はコンテナを再スケジュールしません(再起動しません)。 on-node-failure ポリシーを環境変数 reschedule で設定するには、 $ docker run -d -e reschedule:on-node-failure redis com.docker.swarm.resche...dule-policy ラベルで同じポリシーを設定するには、 $ docker run -d -l 'com.docker.swarm.reschedule-policy=["on-node-failure"]' redis 再スケジュール・ログの確認 docker logs コマンドを使って再スケジュールしたコンテナの動作を確認できます。確認する...duling/ 関連キーワード スケジュール ポリシー docker コンテナ reschedule node Swarm 確認 policy swarm ログ ノード 環境 変数 failure container 関連 再起動 起動 ラベル redis logs adb 目次 Docker... - https://man.mtool.work/docker/24.0/swarm/scheduler/rescheduling.html
- Compose ファイル展開リファレンス — Docker-docs-ja 24.0 ドキュメント 9805
- Compose ファイル リファレンス Compose ファイル展開リファレンス Compose ファイル展開リファレンス 目次 Compose 仕様とは、複数のコンテナアプリケーションを定義するための、プラットフォームに中立な手法です。Compose の実装でサポートしているアプリ
...se 実装はサービス設定で restart フィールドが設定されているとみなす :ruby:`必要があります <MUST>` 。 condition : noen 、 on-failure 、 any11 のどれか1つです(デフォルト: ``any ) delay :再起動を試みるまで待機する時間を :ref: ` 期間 <compose-spec-specifyi...:ref: ` 期間 <compose-spec-specifying-duration>`で指定します(デフォルト:即時)。 deploy : restart_policy : condition : on-failure delay : 5s max_attempts : 3 window : 120s rollback_config rollback_config は、更新に失敗した場合、サービスをどのようにロ...テナのロールバックを一斉に行います。 delay :各コンテナのグループがロールバックするまで待機する時間です(デフォルトは 0s)。 failure_action :ロールバックに失敗した場合にどうするか設定します。 continue か pause のどちらかです(デフォルトは pause )。 monit... - https://man.mtool.work/docker/24.0/compose/compose-file/deploy.html
- manage - Swarm マネージャの作成 — Docker-docs-ja 24.0 ドキュメント 8598
- manage - Swarm マネージャの作成 manage - Swarm マネージャの作成 動作条件:Swarm マネージャで manage を使う前に、 こちらのディスカバリのドキュメント に書かれているディスカバリ・バックエンドを構築します。 manage コマンドは Swarm マネージャを
...nterval "<間隔>秒" を使い、リフレッシュまでの最大間隔を秒単位で指定します。デフォルトでは、この間隔は 60 秒です。 --engine-failure-retry - Engine のリトライ失敗回数 --engine-failure-retry "数値" を使い、Engine が障害とみなすまでの再試行の回数を指定しま...す。デフォルトでは、3回再試行します。 --engine-refresh-retry - 廃止予定 廃止予定; --engine-failure-retry "数値" の代わりに --engine-failure-retry を使います。デフォルトは 3 です。 --heartbeat - ハートビート間隔 --heartb... - https://man.mtool.work/docker/24.0/swarm/reference/manage.html
- Compose ファイル version 3 リファレンス — Docker-docs-ja 24.0 ドキュメント 8479
- Compose ファイル リファレンス 以前のバージョン Compose ファイル version 3 リファレンス Compose ファイル version 3 リファレンス 目次 リファレンスと方針 以下のトピックでは、 Compose ファイル形式バージョン3について説明します。 Compose と D
...icas : 6 placement : max_replicas_per_node : 1 update_config : parallelism : 2 delay : 10s restart_policy : condition : on-failure いくつかのサブオプションがあります。 endpoint_mode ヒント Compose 形式 バージョン 3.2 で追加されました。 外部のクライアン...ナが :ruby:`終了 <exit>` すると、どのように再起動するかを設定します。 restart を置き換えたものです。 condition : none 、 on-failure 、 any のどちらかです(デフォルト: any )。 delay :再起動を試みるまでどれだけ待機するか、 duration (継続時間)として指定し...デフォルト: 直ちに判断)。 version : "3.9" services : redis : image : redis:alpine deploy : restart_policy : condition : on-failure delay : 5s max_attempts : 3 window : 120s rollback_config ヒント Compose 形式 バージョン 3.7 で追加されました。 更新に失... - https://man.mtool.work/docker/24.0/compose/compose-file/compose-file-v3.html
- サービスにローリング・アップデートを適用 — Docker-docs-ja 24.0 ドキュメント 8360
- プロダクションでアプリを実行 コンテナ設定 Swarm Docker Swarm 導入チュートリアル サービスにローリング・アップデートを適用 サービスにローリング・アップデートを適用 目次 チュートリアルの前のステップでは、サービスのインスタンス数を スケール し
...ILED の応答があれば、スケジューラは更新を中止します。この挙動は docker service create や docker service update で --update-failure-action のフラグを使って制御できます。 redis サービスを調べます。 $ docker service inspect --pretty redis ID: 0u6a4s31ybk7y...bk7yw2wyvtikmu50 Name: redis ...snip... Update status: State: paused Started: 11 seconds ago Message: update paused due to failure or early termination of task 9p7ith557h8ndf0ui9s0q951b ...snip... 一時停止した更新を再開するには、 docker service update <... - https://man.mtool.work/docker/24.0/engine/swarm/swarm-tutorial/rolling-update.ht...
- Registry 設定リファレンス — Docker-docs-ja 24.0 ドキュメント 8122
- Docker Registry Registry 設定リファレンス Registry 設定リファレンス 目次 Registry の設定は YAML 形式のファイルをベースとしており、詳細は以下をご覧ください。特に気にしなくても適切な初期値が設定されています。そのため、システムをプロダクショ
...the system interprets the value as nanoseconds. threshold yes An integer specifying how long to wait before backing off a failure. backoff yes How long the system backs off before retrying. This field takes a positive integer and an optional suffix ind...number of times the check must fail before the check triggers an unhealthy state. If this filed is not specified, a single failure will trigger an unhealthy state. file file is a list of paths to be periodically checked for the existence of a file. If a...number of times the check must fail before the check triggers an unhealthy state. If this filed is not specified, a single failure will trigger an unhealthy state. tcp tcp is a list of TCP addresses to be periodically checked with connection attempts. T... - https://man.mtool.work/docker/24.0/registry/configuration.html
- Docker run リファレンス — Docker-docs-ja 24.0 ドキュメント 8004
- コマンドライン リファレンス Docker CLI (docker) Docker run リファレンス Docker run リファレンス 目次 Docker はプロセスを隔離(isolated;分離)したコンテナ内(isolated container)で実行します。コンテナとは、ホスト上で動くプロセスです。ホスト
...起動ポリシーをサポートしています。 ポリシー 結果 no コンテナが終了しても、自動的に再起動しません。これがデフォルトです。 on-failure [:最大リトライ数] コンテナが 0 以外の終了ステータスで停止したら再起動します。オプションで Docker デーモンが何度再起動を試み...遅延は100ミリ秒から開始し、直前の値の2倍になります)。つまり、デーモンは100ミリ秒待った後は、200ミリ秒、400、800、1600…と on-failure 上限に到達するか、あるいは、コンテナを docker stop で停止するか、 docker rm -f で強制削除するまで続けます。 コンテナの再起...動が成功すると(コンテナは少なくとも10秒以内で起動します)、遅延時間の値は再び 100 ミリ秒にリセットされます。 on-failure ポリシーを使えば、Docker がコンテナの再起動を試みる最大回数を指定できます。デフォルトでは、Docker はコンテナの再起動を永久... - https://man.mtool.work/docker/24.0/engine/reference/run.html
- service update — Docker-docs-ja 24.0 ドキュメント 7885
- コマンドライン リファレンス Docker CLI (docker) docker service service update service update 使い方: docker service update [ オプション ] サービス サービスを更新します。 オプション: --arg value サービスのコマンド引数 ( デフォルト []) --co
....000 ) --reserve-memory value リザーブ・メモリ ( デフォルト 0 B ) --restart-condition string 状況変更時に再起動 ( none, on_failure, any ) --restart-delay value 再起動を試みるまでの遅延 ( デフォルト none ) --restart-max-attempts value 再起動を諦める最大数... - https://man.mtool.work/docker/24.0/engine/reference/commandline/service_update.h...