Skip to content

Autobuilder data container from volumes in running docker container

Notifications You must be signed in to change notification settings

FedeG/docker-autobuild-data-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-autobuild-data-container

Generate docker image for data container from docker container (in runtime).

Demo

asciicast

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
Docker version:
  • 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

From repo:

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

About

Autobuilder data container from volumes in running docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published