docker - Automated Dockerfile generator -


i generate dockerfile "top-down approach". have configured system , make image ship away. built base image.

it sounds want create docker image, rather dockerfile. can tar filesystem , import docker; e.g., like:

tar --one-file-system -cf- / | docker import - myimagename 

the --one-file-system option prevent tar archiving things /sys , /proc. docker image containing copy of filesystem; whether or not useful depends on you're trying it.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -