Modifying and rebuilding a Docker image

I’d like to make a change to a third-party Docker image (the official Shipyard image), and recompose a new image.

Will I have to export a TAR file, expand it into a directory, make the change, build a new TAR, and import that TAR, or is there a way to simply pour the contents of the image into a directory, and rebuild a new one, directly, when done?

  • “device or resource busy” error when trying to push image with docker
  • Not able to connect cassandra port 9042 from other machines.
  • How to communicate between Docker containers via “hostname”
  • How to mix several python scripts into a shell script?
  • How can I set the time zone in Dockerfile using gliderlabs/alpine:3.3
  • Named pipes in docker container folder mounted to mac os x file system through boot2docker
  • Docker Daemon connected to socket on :2375
  • sbt-native-packager docker: How to add entry in /etc/hosts
  • Docker 0.9 - /etc/sysctl.conf not working
  • Kubernetes Redis HA and exposing redis to things outside of the container
  • If docker uses virtual machine to run on a mac then what is its advantage over vagrant?
  • Docker container can not run as a daemon
  • One Solution collect form web for “Modifying and rebuilding a Docker image”

    You could either:

    • start from their Dockerfile or
    • just use FROM shipyard/shipyard to start your own Dockerfile based on their binary image.
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.