Instantly share code, notes, and snippets.

@erikh /notes.md Secret
Created Oct 29, 2014

Embed
What would you like to do?

notes

  • query about run vs. start: what's the difference?
    • start could sum the script to use as a cache key
  • Caching
    • each start line could be a layer
    • for the rest, see "Build Containers"
  • Build Containers: separate containers for build / image composition
  • Nested Builds
    • How to handle this? Haven't figured it out yet.
    • Maybe a tool called build which runs in the build container and imports the build context into a separate
  • Dockerfile v2 syntax changes
    • Necessary?
    • handle quoting better
    • switching on version
      • FROM translation: FROM -, or BUILD instruction to replace FROM
      • DOCKERFILE-VERSION, similar to vagrantfile versioning or a shebang
  • scripting docker change --commit
    • possible to break out of context
    • may work for most cases the proposed builder would solve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment