Docker support
Enabled in branch feature/docker. Keep it for RW image only.
Link:
- /var/lib/docker into /data
- currently in conflict since complete /var/lib is in overlay
- link complete /var/lib into /data does not work due to dpkg building error
Size:
- /data partition moved to 4G to hold docker images
- image size move to 10G, using 16G SD cards
Issue:
- after restarting the gateway docker is not running anymore
- for some reason link /var/lib/docker to /data is overwritten, maybe comflict with overlay /var/lib
- gateway restart must be tested again once we replace overlay with links
Tests:
- mkdir -p /data/app
- export DATA_DIR=/data/app
- docker-compose up -d
- docker-compose.yml
Edited by Rostislav Spinar