Docker ドキュメント 全文検索
Results of 1 - 10 of about 11 for want to (0.007 sec.)
want (11), to (179)
- 使用していない Docker オブジェクトの削除(prune) 21100
- 使用していない Docker オブジェクトの削除(prune) 目次 Docker は使用していないオブジェクト、たとえばイメージ、コンテナ、ボリューム、ネットワークに対するクリーンアップには、慎重なアプローチをとっています。すなわち、各オブジェクトは Docker に
...ージを削除するには、次のようにします。 $ docker image prune WARNING! This will remove all dangling images. Are you sure you want to continue ? [ y/N ] y 既存のコンテナ~使われていないイメージすべてを削除するには、 -a フラグを使います。 $ docker image...prune -a WARNING! This will remove all images without at least one container associated to them. Are you sure you want to continue ? [ y/N ] y デフォルトでは、作業を続行するかどうか尋ねま...らを綺麗に片付けるには、 docker container prune コマンドを使います。 $ docker container prune WARNING! This will remove all stopped containers. Are you sure you want to continue ? [ y/N ] y デフォルトでは、確認プロンプトを表示します。このプロンプトを... - https://man.mtool.work/docker/24.0/config/pruning.html
- Digital Ocean の例 15916
- Digital Ocean の例 目次 以下の例では Docker に対応した Digital Ocean ドロップレット(クラウド・ホスト)を作成します。 ステップ1:Digital Ocean アカウントの作成 アカウントの取得がまだであれば、 Digital Ocean 上にアカウントを作成し、それからロ
...アクセス・トークンを生成します。 Digital Ocean 管理コンソールに移動し、ページ上方にある API をクリックします。 Generate New Token (新しいトークンの生成)をクリックして、トークンの生成に進みます。 トークン名を指定し(例「machine」)、 Write (Optiona...l) にチェックが入っているのを確認してから Generate Token (トークン生成)をクリックします。 生成された長いバイナリ文字列を取得し(クリップボードにコピーします)、どこか安全な場...ために docker-machine rm を使います。 $ docker-machine stop docker-sandbox $ docker-machine rm docker-sandbox Do you really want to remove "docker-sandbox" ? ( y/n ) : y Successfully removed docker-sandbox $ docker-machine ls NAME ACTIVE DRIVER STATE... - https://man.mtool.work/docker/24.0/machine/examples/ocean.html
- トラブルシューティング 15661
- トラブルシューティング 目次 通常 QuickStart は難しい設定など一切なく利用できます。しかし、いくつかの場合に問題が起こるかもしれません。 エラー例 マシン( docker-machine env default など)に接続しようとする時や Docker Hub からイメージの取得時
...cates for host "192.168.99.100:2376" : x509: certificate is valid for 192 .168.99.101, not 192 .168.99.100 You can attempt to regenerate them using 'docker-machine regenerate-certs [name]' . Be advised that this will trigger a Docker daemon restart...which will stop running containers. あるいは、ネットワークのタイムアウトを表示するかもしれません。 bash-3.2$ docker run hello-world Unabl...d Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy. bash-3.2$ 解決法 正しい状態に戻すために、迅速な解決方法を示... - https://man.mtool.work/docker/24.0/toolbox/troubleshoot.html
- コンテナ内で複数のサービスを実行 15494
- コンテナ内で複数のサービスを実行 目次 コンテナでメインとして実行するプロセスは、 Dockerfile の最後に書かれている ENTRYPOINT か CMD か、あるいは両方によって指定します。一般的に推奨するのは、1つのサービスごとにコンテナを使い、懸念事項の領域を
...プトです。 #!/bin/bash # Start the first 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 [ $stat...us -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 process...es exited. # This illustrates part of the 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 proces... - https://man.mtool.work/docker/24.0/config/containers/logging/logging.html
- docker volume prune 14381
- docker volume prune 目次 説明 使用していないローカルボリュームを削除します。 【API 1.21+】このコマンドを使うには、クライアントとデーモン API の両方が、少なくとも 1.25 の必要があります。クライアントとデーモン API のバージョンを調べるには、 d
...f 確認のプロンプトを表示しない 使用例 $ docker volume prune WARNING! This will remove all local volumes not used by at least one container. Are you sure you want to continue ? [ y/N ] y Deleted Volumes: 07c7bdf3e34ab76d921894c2b834f073721fccfbbcba7...92aa7648e3a7a664c2e my-named-vol Total reclaimed space: 36 B 親コマンド コマンド 説明 docker ボリュームを管理 関連コマンド コマンド 説明 docker volume create... - https://man.mtool.work/docker/24.0/engine/reference/commandline/volume_prune.htm...
- Amazon Web Services (AWS) EC2 の例 13494
- Amazon Web Services (AWS) EC2 の例 目次 以下の例では Docker に対応した Amazon Web Services (AWS) EC2 インスタンスを作成します。 ステップ1:AWS にサインアップして証明書を取得 まだ AWS の利用者でなければ、 AWS にサインアップし、EC2 クラウド・コ
...box ホスト上のポート 8000 に割り当てます。 $ docker run -d -p 8000 :80 --name webserver kitematic/hello-world-nginx Unable to find image 'kitematic/hello-world-nginx:latest' locally latest: Pulling from kitematic/hello-world-nginx a285d7f063ea: Pul...トだけでなく全てのコンテナとイメージを削除するには、マシンを停止するために docker-machine rm を使います。 $ docker-machine stop aws-sandbox $ docker-machine rm aws-sandbox Do you really want to remove "aws-sandbox" ? ( y/n ) : y Successfully removed... - https://man.mtool.work/docker/24.0/machine/examples/aws.html
- docker network prune 13416
- docker network prune 目次 説明 使用していないネットワークを全て削除します。 1つまたは複数のネットワークを削除します。 【API 1.21+】このコマンドを使うには、クライアントとデーモン API の両方が、少なくとも 1.21 の必要があります。クライアントと
...il=<timestamp> ) --force , -f 確認のプロンプトを表示しない 使用例 $ docker network prune WARNING! This will remove all custom networks not used by at least one container. Are you sure you want to continue ? [ y/N ] y Deleted Networks: n1 n2 フィル... - https://man.mtool.work/docker/24.0/engine/reference/commandline/network_prune.ht...
- docker image prune 13199
- docker image prune 目次 説明 使用していないイメージを削除します。 【API 1.25+】 このコマンドを使うには、クライアントとデーモン API の両方が、少なくとも 1.30 の必要があります。クライアントとデーモンの API バージョンを調べるには、クライアント
...全て削除します。 コマンドの使用例は、以下の 使用例のセクション をご覧ください。 使い方 $ docker image ls [ OPTIONS ] [ REPOSITORY [ :TAG ]] オプション 名前, 省略形 デフォルト 説明 --all , -a 宙ぶらりんなイメージだけでなく、全ての未使用イメージを削除...-f 確認のプロンプトを表示しない 使用例 出力例: $ docker image prune -a WARNING! This will remove all images without at least one container associated to them. Are you sure you want to continue ? [ y/N ] y Deleted Images: untagged: alpine:latest unt... - https://man.mtool.work/docker/24.0/engine/reference/commandline/image_prune.html
- docker container prune 13194
- docker container prune 目次 説明 すべての停止中のコンテナを削除します。 【API 1.25+】 このコマンドを使うには、クライアントとデーモン API の両方が、少なくとも 1.30 の必要があります。クライアントとデーモンの API バージョンを調べるには、クライ
...プロンプトを表示しない 使用例 不要なコンテナの :ruby:`削除 <prune>` $ docker container prune WARNING! This will remove all stopped containers. Are you sure you want to continue ? [ y/N ] y Deleted Containers: 4a7f7eebae0f63178aff7eb0aa39cd3f0627a203...ab2df258c1a00b456cf20063 f98f9c2aa1eaf727e4ec9c0283bc7d4aa4762fbdba7f26191f26c97f64090360 Total reclaimed space: 212 B フィルタリング フィルタリングのフラグ( --filter )書式は「key=value」です。複数のフィルタがある... - https://man.mtool.work/docker/24.0/engine/reference/commandline/container_prune....
- オーバレイ・ネットワークの使用 12703
- オーバレイ・ネットワークの使用 目次 overlay ネットワーク・ドライバは複数の Docker デーモンのホスト間に分散ネットワークを作成します。このネットワークは、ホスト固有のネットワーク上に(オーバレイ:覆い被さるように)位置します。そして、暗号化が有
...rwise, removal may not be effective and functionality of newly created ingress networks will be impaired. Are you sure you want to continue ? [ y/N ] --ingress フラグと設定の必要があればカスタム・オプションを付けて、新しいオーバレイ・ネットワークを作...・メッシュ上のポート 8080 に、サービス・ポート上の TCP 80 を割り当て -p 8080:80/udp あるいは -p published=8080,target=80,protocol=udp ルーティング・メッシュ上のポート 8080 に、サービス・ポート上の UDP 80 を割り当て -p 8080:80/tcp -p 8080:80/udp ある...いは -p published=8080,target=80,protocol=tcp -p published=8080,target=80,protocol=udp ルーティング・メッシュ上のポート 8080 に、サービス・ポート上の TCP 80 を割... - https://man.mtool.work/docker/24.0/network/overlay.html