RecordEvolution / ReswarmOS

A small, customized host operating system for IoT devices meeting the needs of Reswarm
Apache License 2.0
5 stars 0 forks source link

move docker image location to /apps partition #55

Closed mario-fink closed 2 years ago

mario-fink commented 2 years ago

Since docker images/layers etc. are still kept on rootfs partition we have to reinstall all apps after OS upgrading. Therefore, move docker images (/var/lib/docker) to apps partition

mario-fink commented 2 years ago

using /apps/docker as default docker data directory by configuring:

"data-root": "/apps/docker"

in daemon.json

also see https://docs.docker.com/config/daemon/systemd/