建立自己的docker registry

ref: http://www.informit.com/articles/article.aspx?p=2464012
01. Private Docker Hub
sudo docker run -d -p 5000:5000 registry
sudo docker tag hu/oracle localhost:5000/ora11g:latest
sudo docker push localhost:5000/ora11g:latest

02.
sudo docker ps -a (list all container)
sudo docker stop (container-id)
sudo docker rm (stop container id)
sudo docker images (list all images)
sudo docker rmi (image-id)

透過docker安裝wnameless/oracle-xe-11g

01. 下載wnameless/oracle-xe-11g映像檔
(ref: https://hub.docker.com/r/wnameless/oracle-xe-11g/)

02.這份wnameless/oracle-xe-11g的相關設定如下:

03.測試oracle

04. 寫回映像檔

如果要重複運用這份內容(例如Private DockerHub),可把異動的部份寫回映像檔

在UBuntu 16.04安裝Docker CE

在UBuntu安裝Docker CE  – INSTALL DOCKER CE ON UBUNTU

參考資料: https://docs.docker.com/engine/installation/linux/ubuntu/#install-docker

01.先安裝UBuntu 16.04 TLS 桌面版

02.更新套件清單

03.安裝下列套件,讓docker可以支援aufs

04.安裝下列套件,以讓儲存區Respotory支援HTTPS

5. 安裝下列套件,在docker中加入官方的GPG金鑰:

6.確認金鑰的可信度

7. 更新套件並安裝docker

Raspberry 監控攝影,並儲存於dropbox

根據網路上的文章加以測試,整理步驟如下

1. 準備Raspberry + 原廠攝影模組

2. 安裝 OpenCV2

http://www.pyimagesearch.com/2015/02/23/install-opencv-and-python-on-your-raspberry-pi-2-and-b/

註:如果make有遇到錯誤,請依下列步驟處理
if some error raised during make, perform the following steps:

3. 安裝監控程式 (Install surveillance script as following)

http://www.pyimagesearch.com/2015/06/01/home-surveillance-and-motion-detection-with-the-raspberry-pi-python-and-opencv/

4. 加入dropbox支援 (Add dropbox API according to the following post)

https://github.com/dropbox/dropbox-sdk-python/blob/master/example/back-up-and-restore/backup-and-restore-example.py