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 -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -