Docker ドキュメント 全文検索
Results of 1 - 10 of about 38 for world (0.004 sec.)
- コンテナで Hello world 15236
- コンテナで Hello world 目次 Docker とは一体何なのでしょうか? Docker はコンテナ内に作成した世界で、アプリケーションを実行可能にします。コンテナ内でアプリケーションを実行するには、 docker run コマンドを実行するだけです。 注釈 Docker システムの
...するには、システム管理者に対して docker という名称の Unix グループを作成し、そこにユーザを追加するようご依頼ください。 Hello world の実行 まず hello world コンテナを実行しましょう。 $ docker run ubuntu:14.04 /bin/echo 'Hello world' Hello world 初めてコン...ンテナを起動するとは、Docker が新しい Ubuntu 環境を作成し、その中で /bin/echo コマンドを実行し、その結果を出力します。 Hello world それでは、表示後のコンテナはどのような状況でしょうか。Docker コンテナが実行されていたのは、指定したコマンドを処理していた間.../# exit 注釈 先ほど作成したコンテナと同様に、Bash シェルのプロセスが終了すると、コンテナは停止します。 Docker 化した Hello world の起動 デーモンとして実行するコンテナを作成しましょう。 $ docker run -d ubuntu:14.04 /bin/sh -c "while true; do echo hello... - https://man.mtool.work/docker/24.0/engine/tutorials/dockerizing.html
- Fedora 10692
- Fedora 目次 Docker は Fedora バージョン 22 と 23 をサポートします。このページでは Docker が管理しているパッケージとインストール手法を使ってインストールします。これらパッケージを使い、Docker の最新リリースを入手します。もし Fedora が管理する
...t docker docker が正常にインストールされたか確認するため、コンテナでテスト用イメージを実行します。 $ sudo docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from hello-world a8219747be10: Pull complete 91c95931e55...2: Already exists hello-world:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should no.... Digest: sha256:aa03e5d0d5553b4c3473e89c8619cf79df368babd1.7.1cf5daeb82aab55838d Status: Downloaded newer image for hello-world:latest Hello from Docker. This message shows that your installation appears to be working correctly. To generate this mess... - https://man.mtool.work/docker/24.0/engine/install/linux/docker-ce/fedora.html
- トラブルシューティング 9575
- トラブルシューティング 目次 通常 QuickStart は難しい設定など一切なく利用できます。しかし、いくつかの場合に問題が起こるかもしれません。 エラー例 マシン( docker-machine env default など)に接続しようとする時や Docker Hub からイメージの取得時
...( docker run hello-world )に、エラーが発生するかもしれません。 エラーは次のように証明書に関するものかもしれません。 Error checking TLS connection:...ch will stop running containers. あるいは、ネットワークのタイムアウトを表示するかもしれません。 bash-3.2$ docker run hello-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 internet connection or if you are behind a proxy. bash-3.2$ 解決法 正しい状態に戻すため... - https://man.mtool.work/docker/24.0/toolbox/troubleshoot.html
- バイナリから Docker CE のインストール 9355
- バイナリから Docker CE のインストール 目次 注釈 このページへはリダイレクトによりやってきたかもしれません。 お使いの Linux ディストリビューションでは、ダイナミックリンクによる Docker パッケージが提供されていないためです。 Docker を利用したい
...on を生成編集します。 そこに必要な設定オプションを追加します。 Docker が正しくインストールされたことを確認するために hello-world イメージを実行します。 $ sudo docker run hello-world このコマンドはテストイメージをダウンロードして、コンテナ内で実行します...指定する必要があります。 $ sudo cp docker/docker /usr/local/bin/ Docker が正しくインストールされたことを確認するために hello-world イメージを実行します。 <hostname> にはホスト名かその IP アドレスを指定します。 このホストは Docker デーモンが起動しているマ...シンのことであり、クライアントからアクセス可能であるものです。 $ sudo docker -H <hostname> run hello-world このコマンドはテストイメージをダウンロードして、コンテナ内で実行します。 コンテナが起動すると、メッセージを表示して終了しま... - https://man.mtool.work/docker/24.0/engine/install/linux/docker-ce/binaries.html
- Amazon Web Services (AWS) EC2 の例 9245
- Amazon Web Services (AWS) EC2 の例 目次 以下の例では Docker に対応した Amazon Web Services (AWS) EC2 インスタンスを作成します。 ステップ1:AWS にサインアップして証明書を取得 まだ AWS の利用者でなければ、 AWS にサインアップし、EC2 クラウド・コ
..." : 22 , ... Docker Engine が正しくインストールされたかどうか確認するため、 docker コマンドを実行します。 docker run hello-world のような基本的なコマンドを、新しいリモート・マシン上で実行します。あるいは、より面白いテストとなるよう Docker に対応したウ...にし、それを aws-sandbox ホスト上のポート 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 a...sha256:ec0ca6dcb034916784c988b4f2432716e2e92b995ac606e080c7a54b52b87066 Status: Downloaded newer image for kitematic/hello-world-nginx:latest 942dfb4a0eaae75bf26c9785ade4ff47ceb2ec2a152be82b9d7960e8b5777e65 ウェブブラウザで http://<ホストIP>:8000 を開... - https://man.mtool.work/docker/24.0/machine/examples/aws.html
- Digital Ocean の例 9245
- Digital Ocean の例 目次 以下の例では Docker に対応した Digital Ocean ドロップレット(クラウド・ホスト)を作成します。 ステップ1:Digital Ocean アカウントの作成 アカウントの取得がまだであれば、 Digital Ocean 上にアカウントを作成し、それからロ
..." : "" , ... Docker Engine が正しくインストールされたかどうか確認するため、 docker コマンドを実行します。 docker run hello-world のような基本的なコマンドを、新しいリモート・マシン上で実行します。あるいは、より面白いテストとなるよう Docker に対応したウ...、それを docker-sandbox ホスト上のポート 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 a...sha256:ec0ca6dcb034916784c988b4f2432716e2e92b995ac606e080c7a54b52b87066 Status: Downloaded newer image for kitematic/hello-world-nginx:latest 942dfb4a0eaae75bf26c9785ade4ff47ceb2ec2a152be82b9d7960e8b5777e65 ウェブブラウザで http://<ホストIP>:8000 を開... - https://man.mtool.work/docker/24.0/machine/examples/ocean.html
- Compose を始めましょう 8805
- Compose を始めましょう 目次 このページにおいて Docker Compose 上で動く簡単な Python ウェブ アプリケーションを作り出しましょう。このアプリケーションは Flask フレームワークを使い、Redis を使ってアクセスカウンタを管理します。このサンプルでは P
...0 : raise exc retries -= 1 time . sleep ( 0.5 ) @app . route ( '/' ) def hello (): count = get_hit_count () return 'Hello World! I have been seen {} times. \n ' . format ( count ) この例では、 redis とはアプリケーションのネットワーク上にある redis コ...ェブアプリは Docker デーモンのホスト上でポート 8000 をリッスンします。ウェブブラウザで http://localhost:8000 を開き、 Hello World メッセージを確認します。表示できなければ、 http://127.0.0.1:8000 で試します。 ブラウザに次のような文字が表示されるでしょう...。 Hello World! I have been seen 1 times. このページを再読み込みします。 数字が増えます。 Hello World! I have been seen 2 times. 他のター... - https://man.mtool.work/docker/24.0/compose/gettingstarted.html
- Dockerfile リファレンス 8475
- Dockerfile リファレンス 目次 Docker は Dockerfile から命令を読み込み、自動的にイメージをビルドできます。 Dockerfile はテキストファイルであり、イメージを作り上げるために実行するコマンドライン命令を、すべてこのファイルに含められます。 docker
...り、以下の例にあるコメントは echo コマンドのシェル実行では扱われず、以下両方の例は同じものです。 RUN echo hello \ # コメント world RUN echo hello \ world なお、コメント中では :ruby:`バックスラッシュ <line continuation characters>` はサポートされていませ...ん。以下のような例では、先頭の空白は保持されないため、どちらも同じものです。 # これはコメント行です RUN echo hello RUN echo world # this is a comment-line RUN echo hello RUN echo world ただし注意が必要なのは、以下の RUN 命令のように、命令に対する引数の...空白は保持されます。そのため、以下の例では、先頭に空白が指定した通りある「 hello world」を表示します。 RUN echo " \ hello \ world" :ruby:`パーサ・ディレクティブ <parser directives>` :ruby:`パーサ・ディレクティブ... - https://man.mtool.work/docker/24.0/engine/reference/builder.html
- docker build 8475
- docker build 目次 説明 Dockerfile からイメージを :ruby:`構築 <build>` します。 使い方 $ docker build [ オプション ] パス | URL | - 詳細説明 docker build コマンドは、 Dockerfile と「 :ruby:`コンテクスト <context>` 」から Docker イメージを構築
...2 root root 4 .0K Mar 12 2013 tmp drwxr-xr-x 2 root root 4 .0K Nov 15 23 :34 usr ---> b35f4035db3f Step 3 : CMD echo Hello world ---> Running in 02071fceb21b ---> f52f38b7823e Successfully built f52f38b7823e Removing intermediate container 9c9e81692ae...ker build . Uploading context 18 .829 MB Uploading context Step 1 : FROM busybox ---> 769b9341d937 Step 2 : CMD echo Hello world ---> Using cache ---> 99cc1ad10469 Successfully built 99cc1ad10469 $ echo ".git" > .dockerignore $ docker build . Uploadin...g context 6 .76 MB Uploading context Step 1 : FROM busybox ---> 769b9341d937 Step 2 : CMD echo Hello world ---> Using cache ---> 99cc1ad10469 Successfully built 99cc1ad10469 この例で表示しているのは、 .dockerignore ファイルを使い... - https://man.mtool.work/docker/24.0/engine/reference/commandline/build.html
- docker volume create 8365
- docker volume create 目次 説明 ボリュームを作成します。 【API 1.21+】このコマンドを使うには、クライアントとデーモン API の両方が、少なくとも 1.25 の必要があります。クライアントとデーモン API のバージョンを調べるには、 docker version コマンド
...し、コンテナが使えるようにするには、次の例のように実行します。 $ docker volume create hello hello $ docker run -d -v hello:/world busybox ls /world これはコンテナ内の /world ディレクトリにマウントを作成します。Docker はコンテナ内のマウントポイントに、相... - https://man.mtool.work/docker/24.0/engine/reference/commandline/volume_create.ht...