Docker ドキュメント 全文検索
Results of 1 - 10 of about 10 for header (0.004 sec.)
- Nginx を認証プロキシとして使う — Docker-docs-ja 24.0 ドキュメント 13783
- Docker Registry レシピ Nginx を認証プロキシとして使う Nginx を認証プロキシとして使う 目次 使用例 皆さんの中には、サービスを使うユーザの認証のために Apache のプロキシ機能を利用しているケースもあるでしょう。そして、そうなら更に活用したいと
...y { server registry:5000; } ## Set a variable to help us decide if we need to add the ## 'Docker-Distribution-Api-Version' header. ## The registry always sets this header. ## In the case of nginx performing auth, the header will be unset ## since nginx...gistry realm"; auth_basic_user_file /etc/nginx/conf.d/nginx.htpasswd; ## If $docker_distribution_api_version is empty, the header will not be added. ## See the map directive above where this variable is defined. add_header 'Docker-Distribution-Api-Vers...ion' \$docker_distribution_api_version always; proxy_pass http://docker-registry; proxy_set_header Host \$http_host; # required for docker client's sake proxy_set_header X-Real-IP \$remote_addr; # pass on real client's IP... - https://man.mtool.work/docker/24.0/registry/recipes/nginx.html
- Registry 設定リファレンス — Docker-docs-ja 24.0 ドキュメント 10404
- Docker Registry Registry 設定リファレンス Registry 設定リファレンス 目次 Registry の設定は YAML 形式のファイルをベースとしており、詳細は以下をご覧ください。特に気にしなくても適切な初期値が設定されています。そのため、システムをプロダクショ
...9/public key : /path/to/x509/private clientcas : - /path/to/ca.pem - /path/to/another/ca.pem debug : addr : localhost:5001 headers : X-Content-Type-Options : [ nosniff ] notifications : endpoints : - name : alistener disabled : false url : https://my.l...istener.com/event headers : <http.Header> timeout : 500 threshold : 5 backoff : 1000 redis : addr : localhost:6379 password : asecret db : 0 dialti...s threshold : 3 file : - file : /path/to/checked/file interval : 10s http : - uri : http://server.to.check/must/return/200 headers : Authorization : [ Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ== ] statuscode : 200 timeout : 3s interval : 10s threshold : 3 tcp :... - https://man.mtool.work/docker/24.0/registry/configuration.html
- コンテナとしてイメージを実行 — Docker-docs-ja 24.0 ドキュメント 8831
- 言語別ガイド Node.js コンテナとしてイメージを実行 コンテナとしてイメージを実行 事前準備 自分の Node イメージを構築 で、 Node JS イメージ構築手順を実行します。 概要 前章ではサンプルアプリケーションを作成し、イメージ作成に使うための Doc
...を開き、 curl コマンドを使って GET リクエストを作成しましょう。 $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ --data '{"msg": "testing"}' curl: ( 7 ) Failed to connect to localhost port 8000 : Conn...マンドは応答を返すでしょう。新しく開いたターミナルに戻ります。 $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ --data '{"msg": "testing"}' { "code" : "success" , "payload" : [{ "msg" : "testing" , "...するか確認しましょう。先ほどと同じ curl コマンドを実行します。 $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ --data '{"msg": "testing"}' { "code" : "success" , "payload" : [{ "msg" : "testing" , "... - https://man.mtool.work/docker/24.0/language/nodejs/run-containers.html
- Apache を認証プロキシとして使う — Docker-docs-ja 24.0 ドキュメント 8724
- Docker Registry レシピ Apache を認証プロキシとして使う Apache を認証プロキシとして使う 目次 使用例 皆さんの中には、サービスを使うユーザの認証のために Apache のプロキシ機能を利用しているケースもあるでしょう。そして、そうなら更に活用したい
...す: mkdir -p auth mkdir -p data # This is the main apache configuration you will use cat <<EOF > auth/httpd.conf LoadModule headers_module modules/mod_headers.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authn_core_module modules...-SSLv3 -TLSv1 # Secure cypher suites SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH SSLHonorCipherOrder on Header always set "Docker-Distribution-Api-Version" "registry/2.0" Header onsuccess set "Docker-Distribution-Api-Version" "regist...ry/2.0" RequestHeader set X-Forwarded-Proto "https" ProxyRequests off ProxyPreserveHost on # no proxy for /error/ (Apache HTTPd errors messages)... - https://man.mtool.work/docker/24.0/registry/recipes/apache.html
- 通知 — Docker-docs-ja 24.0 ドキュメント 8044
- Docker Registry 通知 通知 目次 Registry は webhook 通知をサポートしています。レジストリ内で何らかのイベントが発生したら、それに対応して通知を送れます。通知はマニフェストの送受信とレイヤの送受信に対応しています。これらのアクションはイベント
...simple example follows: notifications : endpoints : - name : alistener url : https : // mylistener . example . com / event headers : Authorization : [ Bearer < your token , if needed > ] timeout : 500 ms threshold : 5 backoff : 1 s The above would conf...igure the registry with an endpoint to send events to https://mylistener.example.com/event , with the header “Authorization: Bearer ”. The request would timeout after 500 milliseconds. If 5 failures happen consecutively, the regist...registry upon startup: INFO[0000] configuring endpoint alistener ( https://mylistener.example.com/event ), timeout=500ms, headers=map[Authorization:[Bearer <your token if needed>]] app.id=812bfeb2-62d6-43cf-b0c6-152f541618a3 environment=development se... - https://man.mtool.work/docker/24.0/registry/notifications.html
- 複数コンテナのアプリ — Docker-docs-ja 24.0 ドキュメント 7937
- 始め方 - Get started 複数コンテナのアプリ 複数コンテナのアプリ 目次 これまでは1つのコンテナでアプリを動かしていました。しかし、これからはアプリケーション スタックに MySQL を追加しようとしています。そうすると、たいてい次の疑問が沸き上がりま
...ましょう。 $ dig mysql 次のような出力になります。 ; <<>> DiG 9 .18.8 <<>> mysql ;; global options: +cmd ;; Got answer: ;; ->>HEADER <<- opco de: QUERY, status: NOERROR, id: 32162 ;; flags: qr rd ra ; QUERY: 1 , ANSWER: 1 , AUTHORITY: 0 , ADDITIONAL: 0 ;;... - https://man.mtool.work/docker/24.0/get-started/07_multi_container.html
- 開発にコンテナを使う — Docker-docs-ja 24.0 ドキュメント 7937
- 言語別ガイド Node.js 開発にコンテナを使う 開発にコンテナを使う 事前準備 コンテナとしてイメージを実行 で、イメージ構築をし、それコンテナ化アプリケーションとして実行します。 概要 この章では、これまでのモジュールで構築したアプリケーション
...データベースに接続し、メモを追加できるかどうか確かめましょう。 $ curl --request POST \ --url http://localhost:8000/notes \ --header 'content-type: application/json' \ --data '{"name": "this is a note", "text": "this is a note that I wanted to take while... - https://man.mtool.work/docker/24.0/language/nodejs/develop.html
- 開発にコンテナを使う — Docker-docs-ja 24.0 ドキュメント 7937
- 開発にコンテナを使う 開発にコンテナを使う 事前準備 開発にコンテナを使う でイメージ構築をし、それコンテナ化アプリケーションとして実行します。 概要 現代的なソフトウェア開発において、テストは必要不可欠です。テストとは開発チームによって様
...リクエストを使って JSON が正しく保存されているのを確認します。 $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ --data '{"msg": "testing"}' それから、同じエンドポイントに対して GET リクエストを処理し... - https://man.mtool.work/docker/24.0/language/nodejs/run-tests.html
- dockerd daemon — Docker-docs-ja 24.0 ドキュメント 7830
- コマンドライン リファレンス dockerd daemon dockerd daemon 目次 Usage: dockerd COMMAND A self-sufficient runtime for containers. Options: --add-runtime runtime Register an additional OCI compatible runtime ( default []) --allow-nondistribu
...table-artifacts list Allow push of nondistributable artifacts to registry --api-cors-header string Set CORS headers in the Engine API --authorization-plugin list Authorization plugins to load --bip string Specify n...例は、Linux で利用可能な全てのオプションをファイルに記述したものです。 { "allow-nondistributable-artifacts" : [], "api-cors-header" : "" , "authorization-plugins" : [], "bip" : "" , "bridge" : "" , "cgroup-parent" : "" , "cluster-advertise" : "" , "clus... - https://man.mtool.work/docker/24.0/engine/reference/commandline/dockerd.html
- 自分の Node イメージを構築 — Docker-docs-ja 24.0 ドキュメント 7830
- 言語別ガイド Node.js 自分の Node イメージを構築 自分の Node イメージを構築 事前準備 Docker の概念を理解するため、導入ガイド Part 1 での説明を読み、準備をしてください。 BuildKit 有効化 イメージの構築を始める前に、マシン上で BuildKit を
...す。新しいターミナルを開き、以下の curl コマンドを実行します。 $ curl --request POST \ --url http://localhost:8000/test \ --header 'content-type: application/json' \ --data '{"msg": "testing" }' { "code" : "success" , "payload" : [{ "msg" : "testing" ,... - https://man.mtool.work/docker/24.0/language/nodejs/build-images.html
PREV
1
NEXT