mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-24 09:06:29 +00:00
Use overlay for writeable containers
Previously we would sneakily remount as `rw` but of course you can't really do that on a truly immutable filesystem. See https://github.com/moby/tool/pull/129 for the `moby` side. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -56,6 +56,9 @@ func main() {
|
||||
if err := cmd.Run(); err != nil {
|
||||
log.Printf("Error running %s: %v", name, err)
|
||||
status = 1
|
||||
} else {
|
||||
// do not clean up on error to make debug easier
|
||||
cleanup(fullPath)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user