Docker-docs-ja

Guides - ガイド

  • Docker 概要
  • Docker の入手
  • 始め方 - Get started
  • Docker Desktop ハンズオン ガイド
  • 言語別ガイド
  • Docker で開発
  • Docker で構築
  • プロダクションでアプリを実行
  • 教育用リソース

Product manuals - マニュアル

  • Docker Desktop
  • Docker Engine
  • Docker Compose
  • Docker Hub
  • Docker Registry

Reference - 参考資料

  • リファレンス・参考資料
  • コマンドライン・リファレンス
  • Dockerfile リファレンス
  • Compose ファイル リファレンス
  • 用語集

Samples - サンプル

  • サンプル

Docker について

  • リリース・ノート
  • 日本語版について
  • Docker ドキュメント逆引きガイド
  • Docker ドキュメント日本語版 PDF ダウンロード

Docs アーカイブ

  • v20.10
  • v19.03
  • v17.06
  • v1.12
  • v1.11
  • v1.10
  • v1.9
Docker-docs-ja
  • Docker 全文検索

Docker ドキュメント 全文検索

advanced help
per page, with , order by , clip by
Results of 1 - 10 of about 44 for hello (0.004 sec.)
コンテナで Hello world — Docker-docs-ja 24.0 ドキュメント 13524
コンテナで Hello world コンテナで Hello world  目次 Docker とは一体何なのでしょうか? Docker はコンテナ内に作成した世界で、アプリケーションを実行可能にします。コンテナ内でアプリケーションを実行するには、 docker run コマンドを実行するだけです ... を回避するには、システム管理者に対して docker という名称の Unix グループを作成し、そこにユーザを追加するようご依頼ください。 Hello world の実行  まず hello world コンテナを実行しましょう。 $ docker run ubuntu:14.04 /bin/echo 'Hello world' Hello world 初 ... 。 コンテナを起動するとは、Docker が新しい Ubuntu 環境を作成し、その中で /bin/echo コマンドを実行し、その結果を出力します。 Hello world それでは、表示後のコンテナはどのような状況でしょうか。Docker コンテナが実行されていたのは、指定したコマンドを処理して ... 3bdd3:/# exit 注釈 先ほど作成したコンテナと同様に、Bash シェルのプロセスが終了すると、コンテナは停止します。 Docker 化した Hello world の起動  デーモンとして実行するコンテナを作成しましょう。 $ docker run -d ubuntu:14.04 /bin/sh -c "while true; do ec ...
https://man.mtool.work/docker/24.0/engine/tutorials/dockerizing.html
ベース イメージの作成 — Docker-docs-ja 24.0 ドキュメント 10834
ベース イメージの作成 ベース イメージの作成  目次 ほとんどの Dockerfile は :ruby:`親イメージ <parent image>` を元にしています。イメージの内容を完全に管理する必要があれば、 :ruby:`ベース イメージ <base image>` の代わりになるものを作成する必 ... えば、最も小さなコンテナを scratch を使って作成するには、次のようになります。 # syntax=docker/dockerfile:1 FROM scratch ADD hello / CMD [ "/hello" ] https://github.com/docker-library/hello-world/ にある命令を使って、「hello」を実行する例を考えましょう。 ... コンパイルしているとします。これを使って Docker イメージを構築する docker build は、次のようになります。 docker build --tag hello . 最後に . 記号を付けるのを忘れないでください。これは、現在のディレクトリを :ruby:`構築コンテクスト <build context>` として ... D :/build ubuntu:20.04 container# apt-get update && apt-get install build-essential container# cd /build container# gcc -o hello -static -nostartfiles hello.c 新しいイメージを実行するには、 docker run コマンドを実行します。 docker run --rm hello この例 ...
https://man.mtool.work/docker/24.0/build/building/base-images.html
Containerd イメージストア (Beta) — Docker-docs-ja 24.0 ドキュメント 10358
Docker Desktop Containerd イメージストア (Beta) Containerd イメージストア (Beta)  目次 このページは、 Docker Engine 内でのイメージとファイルシステム管理のため、現在進行中の containerd との統合についての情報を提供します。 注釈 ベータ Dev En ... tries: hubproxy.docker.internal:5000 127 .0.0.0/8 Live Restore Enabled: false シンプルなコンテナを実行  $ docker run --rm hello-world Unable to find image 'hello-world:latest' locally 7d246653d051: Download complete 432f982638b3: Download complete 46 ... 331d942d63: Download complete 7050e35b49f5: Downloading [ > ] 0B/3.208kB Hello from Docker! This message shows that your installation appears to be working correctly. ... コンテナの実行  ポート指定の設 ... 行状況を確認できます。 マルチプラットフォーム対応イメージの構築  Dockerfile のサンプル: FROM alpine ENTRYPOINT [ "echo" , "hello friends" ] マルチプラットフォーム対応イメージの構築: $ docker buildx build --platform linux/amd64,linux/arm64 -t <username ...
https://man.mtool.work/docker/24.0/desktop/containerd/
ベース・イメージの作成 — Docker-docs-ja 24.0 ドキュメント 10358
Docker Engine ユーザガイド イメージの動作 ベース・イメージの作成 ベース・イメージの作成  目次 Dockerfile は普通は親イメージから作り始めます。 イメージ内容を完全にコントロールする場合は、ベース・イメージを作り出すこともあります。 その違いは ... ckerfile 内での参照のみが可能です。 たとえば scratch を利用した最小コンテナの生成は以下のようになります。 FROM scratch ADD hello / CMD [ "/hello" ] Docker GitHub の C ソースコード例 に示されている手順に従って、"hello" 実行モジュールの例を構築するとしま ... す。 実行モジュールは -static フラグをつけてコンパイルします。 Docker イメージは docker build --tag hello . コマンドによってビルドすることができます。 注釈 Docker Desktop for Mac と Docker Desktop for Windows では Linux VM を利用 ... D :/build ubuntu:16.04 container# apt-get update && apt-get install build-essential container# cd /build container# gcc -o hello -static -nostartfiles hello.c そして(Linux、Mac、Windowsにおいて) docker run --rm hello により実行します。 この例は、チュ ...
https://man.mtool.work/docker/24.0/engine/userguide/eng-image/baseimages.html
Fedora — Docker-docs-ja 24.0 ドキュメント 9897
Docker Engine ユーザガイド Get Docker - Docker を手に入れる Docker CE Fedora Fedora  目次 Docker は Fedora バージョン 22 と 23 をサポートします。このページでは Docker が管理しているパッケージとインストール手法を使ってインストールします。こ ... l start docker docker が正常にインストールされたか確認するため、コンテナでテスト用イメージを実行します。 $ sudo docker run hello-world Unable to find image 'hello-world:latest' locally latest: Pulling from hello-world a8219747be10: Pull complete 91c95 ... 931e552: Already exists hello-world:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and sho ... curity. 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 thi ...
https://man.mtool.work/docker/24.0/engine/install/linux/docker-ce/fedora.html
Compose を始めましょう — Docker-docs-ja 24.0 ドキュメント 9021
Docker Compose Compose を始めましょう Compose を始めましょう  目次 このページにおいて Docker Compose 上で動く簡単な Python ウェブ アプリケーションを作り出しましょう。このアプリケーションは Flask フレームワークを使い、Redis を使ってアクセス ... ceptions . ConnectionError as exc : if retries == 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 と ... れでウェブアプリは 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 リファレンス — Docker-docs-ja 24.0 ドキュメント 8698
Dockerfile リファレンス Dockerfile リファレンス  目次 Docker は Dockerfile から命令を読み込み、自動的にイメージをビルドできます。 Dockerfile はテキストファイルであり、イメージを作り上げるために実行するコマンドライン命令を、すべてこのファイ ... 削除されます。つまり、以下の例にあるコメントは 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 — Docker-docs-ja 24.0 ドキュメント 8698
コマンドライン リファレンス Docker CLI (docker) docker build docker build  目次 説明  Dockerfile からイメージを :ruby:`構築 <build>` します。 使い方  $ docker build [ オプション ] パス | URL | - 詳細説明  docker build コマンドは、 Docke ... -xr-x 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 9c9e8 ... $ docker 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 . Up ... loading 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-docs-ja 24.0 ドキュメント 8698
Docker Engine ユーザガイド Get Docker - Docker を手に入れる toolbox トラブルシューティング トラブルシューティング  目次 通常 QuickStart は難しい設定など一切なく利用できます。しかし、いくつかの場合に問題が起こるかもしれません。 エラー例  マ ... シン( docker-machine env default など)に接続しようとする時や Docker Hub からイメージの取得時( docker run hello-world )に、エラーが発生するかもしれません。 エラーは次のように証明書に関するものかもしれません。 Error checking TLS conne ... rt which 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
Amazon Web Services (AWS) EC2 の例 — Docker-docs-ja 24.0 ドキュメント 8544
Amazon Web Services (AWS) EC2 の例 Amazon Web Services (AWS) EC2 の例  目次 以下の例では Docker に対応した Amazon Web Services (AWS) EC2 インスタンスを作成します。 ステップ1:AWS にサインアップして証明書を取得  まだ AWS の利用者でなければ、 ... SHPort" : 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-n ... gest: sha256:ec0ca6dcb034916784c988b4f2432716e2e92b995ac606e080c7a54b52b87066 Status: Downloaded newer image for kitematic/hello-world-nginx:latest 942dfb4a0eaae75bf26c9785ade4ff47ceb2ec2a152be82b9d7960e8b5777e65 ウェブブラウザで http://<ホストIP>:800 ...
https://man.mtool.work/docker/24.0/machine/examples/aws.html
PREV 1 2 3 4 5 NEXT

© Copyright 2015-2023, Docker Docs Translation Ja-Jp Project.

Built with Sphinx using a theme provided by Read the Docs.