diff --git a/README.md b/README.md index 325e846..2f392fa 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,21 @@ 時間がかかりますが、コンテナイメージがスタンバイ状態("GET /api/health HTTP/1.0" が表示される状態)になったら、 別ターミナルを開いてコンテナIDを調べ、シングルレイヤー化した高速化したイメージpepper-lite.tazを作ります。 ``` -> docker container ls -> docker export PEPPER_containerID | gzip -c > pepper-lite.taz -> docker image ls -> docker image rm pepper_imageID +~/pepper$ ./exportPEPPER.sh +Open a new terminal and run . /runPEPPER.sh and wait until you see GET /api/health HTTP/1.0. Press enter key and make sure that only the current container ID, one, is displayed and after that press enter again. +------------------------- +Current running docker ontainer id is +------------------------- +28a1487ec5d2 +------------------------- +When the string GET /api/health HTTP/1.0 is displayed, Please hit enter key +~/pepper$ ``` ### Import Rebuild Image and Run 高速化した、イメージpepper-lite.tazをインポートし、実行します。 ```bash -> ./importPEPPERLITE.sh -> ./runPEPPERLITE.sh +~/pepper$ ./importPEPPERLITE.sh +~/pepper$ ./runPEPPERLITE.sh ``` ### Open ブラウザ経由 @@ -66,5 +71,5 @@ ### Ssh password is ubuntu SSH経由 ```bash -ssh ubuntu@docker_ip -p 2222 +$ ssh ubuntu@docker_ip -p 2222 ```