docker automatically commit and push

I’m trying to setup a GUI application in docker to use it on different computers with the exact same configuration. The container is working but I always have to commit and push the changes manually.

Is there a way to automatically commit and push the changes of the docker container after the container was stopped (by closing the application).

  • Working with local filesystem and MySQL database in Docker, tensorflow, Windows 10
  • Not getting the IP address of the docker container from node.js code when run the container with port forwarding
  • docker command line list arguments
  • Docker Akka-Http application endpoint not reachable
  • Single Docker Image with multiple Softwares or Separate images for separate software
  • Docker complains about invalid certificate after update to v1.7.0
  • Thanks for helping,

  • Jersey Grizzly HTTP Server shutdown inside container docker
  • Local private Docker registry will not respond
  • Handle startup of docker container inside another
  • Hot to enable swarm containers to connect to the host machine?
  • Suppress output from Codeship service
  • Registering an ELB to an ECS service with random host port
  • One Solution collect form web for “docker automatically commit and push”

    I don’t know of a tool which does that automatically, but you could write one. Docker emits events when containers stop, so you could have a process that subscribes to those events (or a cron job that occasionally polls for them) and when it detects a closed container (maybe with your own naming convention?), it could automatically docker commit and tag.

    The events are available via docker events (docs), and the Docker Remote REST API.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.