I need to run docker in a server without network. So I need to use docker save to save the whole image to a tar file and copy it to the server. That’s fine.
But Every time I add new tools to my image, I have to use docker save the very large tar file and copy it. It’s very time consuming to save and copy.
So some one tell me balena may help. I scanned the help documents and have some questions. Can I use it only for cherry pick docker images?
what I want to do it like this.
Install balena in my local machine.
build version 1 of my image.
save this image and copy to remote server and use “docker load” to restore it.
build version 2 of my image(only small diff)
save the diff and copy to remote server and use something like patch to apply the diff.
I know docker can’t do step 4 and 5. How to I achieve this with balena?
Once you have developed your first container using balena cloud, learn how to switch to local development mode (Develop locally - Balena Documentation). This makes it possible to iterate your container development building on the virtual device itself.
I think using local mode on a virtual device will provide a much quicker iteration on your development, but you will need to spend some time getting use to the methodology.