balena-os / balena-engine

Moby-based Container Engine for Embedded, IoT, and Edge uses
https://www.balena.io
Apache License 2.0
679 stars 66 forks source link

Support applying local deltas #116

Open nabbott2008 opened 5 years ago

nabbott2008 commented 5 years ago

I have taken a look through issues and can't see anything similar - apologies if this is a duplicate.

Our organisation would like to move images around using files. I have tried to load (and import) a delta I've copied across to a server and this doesn't start the delta application mode and build an updated image the same way a balena pull does - it just imports the delta image in to balena images.

Is it possible to have this functionality?

root@ubuntu:~# balena version Client: Version: unknown-version API version: 1.31 Go version: go1.9 Git commit: unknown-commit Built: unknown-buildtime OS/Arch: linux/amd64

Server: Version: 17.06.0-dev API version: 1.31 (minimum version 1.12) Go version: go1.9 Git commit: c6df57f Built: Fri Oct 13 09:05:43 2017 OS/Arch: linux/amd64 Experimental: false root@ubuntu:~# balena info Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 17.06.0-dev Storage Driver: aufs Root Dir: /var/lib/balena/aufs Backing Filesystem: extfs Dirs: 0 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host null Log: journald json-file Swarm: NodeID: Is Manager: false Node Address: Runtimes: bare runc Default Runtime: runc Init Binary: balena-init containerd version: (expected: 3addd840653146c90a254301d6c3a663c7fd6429) runc version: 13e66eedaddfbfeda2a73d23701000e4e63b5471 init version: N/A (expected: ) Security Options: apparmor Kernel Version: 4.15.0-36-generic Operating System: Ubuntu 18.04 LTS OSType: linux Architecture: x86_64 CPUs: 1 Total Memory: 1.947GiB Name: ubuntu ID: DEHM:WNJC:VSCY:MKFH:UZ3W:H77S:T3CH:D6YO:Z4OB:W7LF:DP3B:E2IK Docker Root Dir: /var/lib/balena Debug Mode (client): false Debug Mode (server): false Registry: https://index.docker.io/v1/ Experimental: false Insecure Registries: xxxxx xxxxx 127.0.0.0/8 Live Restore Enabled: false

WARNING: No swap limit support

jellyfish-bot commented 2 years ago

[cywang117] This issue has attached support thread https://jel.ly.fish/ae905d7e-aa9b-4159-b677-1f93cae92aae

dburnsii commented 2 years ago

Is this still being considered? This would be a huge value add for embedded devices with no network connection.