Generate docker image for data container from docker container (in runtime).
From docker hub: link
docker run --rm -v /var/lib/docker:/var/lib/docker -v /var/run/docker.sock:/var/run/docker.sock -e CONTAINER=<run_container_name> -e IMAGE=<image_name> fedeg/docker-autobuild-data-container:latest
- 1.12, 1.12.1, latest:
docker run --rm -v /var/lib/docker:/var/lib/docker -v /var/run/docker.sock:/var/run/docker.sock -e CONTAINER=<run_container_name> -e IMAGE=<image_name> fedeg/docker-autobuild-data-container:latest
- 1.11, 1.11.2:
docker run --rm -v /var/lib/docker:/var/lib/docker -v /var/run/docker.sock:/var/run/docker.sock -e CONTAINER=<run_container_name> -e IMAGE=<image_name> fedeg/docker-autobuild-data-container:1.11
docker build --tag=docker-autobuild-data-container .
docker run --rm -v /var/lib/docker:/var/lib/docker -v /var/run/docker.sock:/var/run/docker.sock -e CONTAINER=<run_container_name> -e IMAGE=<image_name> docker-autobuild-data-container