hypriot / device-init

Initialize a device on boot with user defined configuration
MIT License
70 stars 17 forks source link

Question: tips on how to install docker image with debootstrap? #37

Open fsamir opened 7 years ago

fsamir commented 7 years ago

Hi folks, similar to image-builder-rpi I use debootstrap to build debian images and as you may know, it isn't possible to pre-load a docker image with it. I believe that is the reason you added the "docker" section to device-init.

Unfortunately, my image is too large and device-init takes too long to load, which kills the user's first time experience. So, have you guys explored other alternatives? Any clues would be helpful...

I was wondering if it is possible to do a docker pull on a ARM server, zip the file system under the containers and export to the device itself.

Thanks in advance