container-up
is a tool for updating docker container.
This tool recreate container with same configurations (volume mount, port mapping, and so on).
$ container-up CONTAINER_NAME/ID
$ container-up -f /path/to/file.txt CONTAINER_NAME/ID
$ container-up -f /path/to/file1.txt -f /path/to/file2.txt CONTAINER_NAME/ID
$ container-up --rm CONTAINER_NAME/ID
$ container-up --help