Docker ドキュメント 全文検索
Results of 1 - 9 of about 9 for while (0.004 sec.)
- Puppet を使う 12528
- Puppet を使う 目次 注釈 このインストール方法は、コミュニティからの貢献です。 公式の インストール方法は Ubuntu を使います。このバージョンは情報が古いかもしれません。 動作条件 このガイドを利用するには、 Puppet Labs が提供する Puppet をインスト
...テナ内で、コマンドを実行するイメージができます。 docker::run { 'helloworld' : image = > 'ubuntu' , command = > '/bin/sh -c "while true; do echo hello world; sleep 1; done"' , } これは upstart 下での次のコマンドと同等です。 $ docker run -d ubuntu /bin/s...h -c "while true; do echo hello world; sleep 1; done" 注釈 ports 、 env 、 dns 、 volumes の属性は文字で指定するか、先ほどの配列の値で... - https://man.mtool.work/docker/24.0/engine/admin/puppet.html
- コンテナで Hello world 11432
- コンテナで Hello world 目次 Docker とは一体何なのでしょうか? Docker はコンテナ内に作成した世界で、アプリケーションを実行可能にします。コンテナ内でアプリケーションを実行するには、 docker run コマンドを実行するだけです。 注釈 Docker システムの
...Docker 化した Hello world の起動 デーモンとして実行するコンテナを作成しましょう。 $ docker run -d ubuntu:14.04 /bin/sh -c "while true; do echo hello world; sleep 1; done" 1e5535038e285177d5214659a068137486f96ee5c2e85a4ac52dc83f2ebe4147 この例では: doc...化して)コンテナを実行します。 ubuntu は実行しようとしているイメージです。 最後に、実行するコマンドを指定します: /bin/sh -c "while true; do echo hello world; sleep 1; done" 出力は先ほどのように hello world を表示せず、文字列を表示します。 1e5535038e2851...を問い合わせます。 $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1e5535038e28 ubuntu:14.04 /bin/sh -c ' while tr 2 minutes ago Up 1 minute insane_babbage この例はデーモン化したコンテナを見ています。 docker ps は便利な情報を返します。... - https://man.mtool.work/docker/24.0/engine/tutorials/dockerizing.html
- 通知 9598
- 通知 目次 Registry は webhook 通知をサポートしています。レジストリ内で何らかのイベントが発生したら、それに対応して通知を送れます。通知はマニフェストの送受信とレイヤの送受信に対応しています。これらのアクションはイベント後とに処理されます。イ
...ccept either. Envelope The envelope contains one or more events, with the following json structure: { "events": [ ... ], } While events may be sent in the same envelope, the set of events within that envelope have no implied relationship. For example,...onsidered delivered and discarded. In turn, it is recommended that endpoints are accepting of incoming responses, as well. While the format of event envelopes are standardized by media type, any “pickyness” about validation may cause the queue to back... - https://man.mtool.work/docker/24.0/registry/notifications.html
- 開発にコンテナを使う 8861
- 開発にコンテナを使う 事前準備 コンテナとしてイメージを実行 で、イメージ構築をし、それコンテナ化アプリケーションとして実行します。 概要 この章では、これまでのモジュールで構築したアプリケーションの、ローカル開発環境をセットアップする方法を説明
...header 'content-type: application/json' \ --data '{"name": "this is a note", "text": "this is a note that I wanted to take while I was working on writing a blog post.", "owner": "peter"}' サービスからは以下の JSON が返ってくるでしょう。 { "code" : "su...ayload" :{ "_id" : "5efd0a1552cd422b59d4f994" , "name" : "this is a note" , "text" : "this is a note that I wanted to take while I was working on writing a blog post." , "owner" : "peter" , "createDate" : "2020-07-01T22:11:33.256Z" }} Compose を使って... - https://man.mtool.work/docker/24.0/language/nodejs/develop.html
- docker logs 8484
- docker logs 目次 説明 コンテナのログを取得します。 使い方 $ docker logs [ OPTIONS ] CONTAINER 補足説明 docker logs コマンドは、コンテナの実行時から現在に至るまでのログを、逐次表示します。 注釈 このコマンドが使えるのは、コンテナが json-file
...時間までのログを表示 指定した時点までのログを表示するには、次のように実行します。 $ docker run --name test -d busybox sh -c "while true; do $( echo date ) ; sleep 1; done" $ date Tue 14 Nov 2017 16 :40:00 CET $ docker logs -f --until = 2s test Tue 14 No... - https://man.mtool.work/docker/24.0/engine/reference/commandline/logs.html
- コンテナ内で複数のサービスを実行 8124
- コンテナ内で複数のサービスを実行 目次 コンテナでメインとして実行するプロセスは、 Dockerfile の最後に書かれている ENTRYPOINT か CMD か、あるいは両方によって指定します。一般的に推奨するのは、1つのサービスごとにコンテナを使い、懸念事項の領域を
...an error # if it detects that either of the processes has exited. # Otherwise it loops forever, waking up every 60 seconds while sleep 60 ; do ps aux | grep my_first_process | grep -q -v grep PROCESS_1_STATUS = $? ps aux | grep my_second_process | gre... - https://man.mtool.work/docker/24.0/config/containers/logging/logging.html
- トラブルシューティング 7747
- トラブルシューティング 目次 通常 QuickStart は難しい設定など一切なく利用できます。しかし、いくつかの場合に問題が起こるかもしれません。 エラー例 マシン( docker-machine env default など)に接続しようとする時や Docker Hub からイメージの取得時
...world Unable to find image 'hello-world:latest' locally Pulling repository docker.io/library/hello-world Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your intern... - https://man.mtool.work/docker/24.0/toolbox/troubleshoot.html
- Compose を始めましょう 7028
- Compose を始めましょう 目次 このページにおいて Docker Compose 上で動く簡単な Python ウェブ アプリケーションを作り出しましょう。このアプリケーションは Flask フレームワークを使い、Redis を使ってアクセスカウンタを管理します。このサンプルでは P
...rt Flask app = Flask ( __name__ ) cache = redis . Redis ( host = 'redis' , port = 6379 ) def get_hit_count (): retries = 5 while True : try : return cache . incr ( 'hits' ) except redis . exceptions . ConnectionError as exc : if retries == 0 : raise e... - https://man.mtool.work/docker/24.0/compose/gettingstarted.html
- Docker デーモンをルート以外のユーザで実行(Rootless モード) 7028
- Docker デーモンをルート以外のユーザで実行(Rootless モード) 目次 Rootless モード(Rootless mode)は Docker デーモンとコンテナを root 以外のユーザが実行できるようにするもので、デーモンやコンテナ・ランタイムにおける潜在的な脆弱性を回避します
...ocused_swanson ( 9e2e139a9d8fc92b37c36edfa6214a6e986fa2028c0cc359812f685173fa6df7 ) : Error starting userland proxy: error while calling PortManager.AddPort () : cannot expose privileged port 80 , you might need to add "net.ipv4.ip_unprivileged_port_s... - https://man.mtool.work/docker/24.0/engine/security/rootless.html
PREV
1
NEXT