Export/Save only the top layer of a container

From Do you speak Drupalish? Featured Drupal wiki-like documentation
Jump to: navigation, search
Suggestion:
- run a local-only private registry (e.g. listening on 127.0.0.1:1271)
- push image to that private registry
- retrieve the ID of the topmost layer
- get it straight from the local registry
- ship it wherever you want
- apply it on top of existing base image
Would that work for you?

Yes, it means running a local private registry; but it's local (no exposed service), it comes pre-packaged on stackbrew, and it's just used as a kind of export cache, so it can be nuked any time.