scripts first commit 3 years ago
.gitignore first commit 3 years ago
Dockerfile fine tuning 3 years ago
README.md Update README.md 3 years ago
buildPEPPER.sh first commit 3 years ago
exportPEPPER.sh first commit 3 years ago
importPEPPERLITE.sh first commit 3 years ago
runPEPPER.sh first commit 3 years ago
runPEPPERLITE.sh first commit 3 years ago
README.md

ROSでペッパーを動かすためのDockerイメージ

PepperのIPは、192.168.100.3で同じネットワーク内にこのDockerファイルを動かすサーバがある設定を仮定しています。 novncを採用しているため、ブラウザ経由と、ssh経由でアクセスできます。

BUILD IMAGE

> ./buildPEPPER.sh
> ./runPEPPER.sh

上記の方法で実行する場合、マシンスペックによりますが、起動が遅い場合があります。 Reconstruction of a single layer image may take up to 20 minutes to merge multi-layer images. そこで、最初は、時間がかかりますが、起動したコンテナイメージをキャプチャし、シングルレイヤー化した高速化したイメージpepper-lite.tazを作ります。

> docker container ls 
> docker export PEPPER_containerID | gzip -c > pepper-lite.taz
> docker image ls
> docker image rm pepper_imageID

高速化した、イメージをインポートし、実行します。

IMPORT and EXECUTE

> ./importPEPPERLITE.sh
> ./runPEPPERLITE.sh

open

http://docker_ip:6080

ssh password is ubuntu

ssh ubuntu@docker_ip -p 2222