Forum Discussion
emilm
Feb 19, 2020Copper Contributor
Preloading IoT Edge containers into a device
Hello. I wonder if it's possible to copy the docker containers to a new device which has a matching deployment setup in IoT Edge hub, so the device can be shipped without needing to download everythi...
Venkat Yalla
Feb 24, 2020Former Employee
How do you currently install the iotedge and docker daemons on the device?
emilm
Feb 24, 2020Copper Contributor
Venkat Yalla They are a part of the base image so not really installed. They are already there if you know what I mean.
The containers are not since they are data that changes and is on a separate, writable partition.
Is just copying everything under /var/lib/docker enough or do I need the entire home directory of IoT edge as well to include the deployment manifest? When IoT Edge Daemon starts up for the first time, or the config is changed (both are true for me since every device have their own registration ID) it will clear the containers and add them again.