update ja communicate-containers-same-pod-shared-volume.md

This commit is contained in:
YukiKasuya
2020-08-27 12:51:04 +09:00
committed by inductor
parent dd216b3ffc
commit 916881f70f
@@ -100,12 +100,15 @@ nginxコンテナへのシェルを取得します:
debianコンテナがnginxルートディレクトリに`index.html`ファイルを作成したことを思い出してください。
`curl`を使用して、GETリクエストをnginxサーバーに送信します:
```
root@two-containers:/# curl localhost
```
出力は、nginxがdebianコンテナによって書かれたWebページを提供することを示しています:
```
Hello from the debian container
```