Forum Discussion
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 everything. Is this possible without tainting the IoT edge footprint so it doesn't remove containers etc?
For example if there's a crucial container that needs to be running as fast as you turn on the device, this is very useful.
5 Replies
- Venkat YallaBrass Contributor
emilm Yes, you can pre-seed the images using docker https://docs.docker.com/engine/reference/commandline/import/. Can you clarify what you mean by "tainting the IoT edge footprint"?
- emilmCopper Contributor
Venkat Yalla Thank you! But doesn't docker import mean that you need to have the device running to import to it? I was thinking of avoid booting up the device.
When I mean tainting, I mean that Iot Edge daemon clears all the containers when it detects that the config has changed. How to avoid this? The config needs the registration ID unless I can provide it otherwise.
- Venkat YallaBrass ContributorHow do you currently install the iotedge and docker daemons on the device?