Docker: save - produces no output <p>Fairly new to using Docker..</p> <p>I pulled an image for Oracle 11g Full. Created a DB and installed an application into the container.</p> <p>Once configured correctly, I committed the container which resulted in a 15GB image.</p> <p>Tested a new container of that image, everything works fine, Oracle services etc. startup automatically and then I just attach and run the application...all good.</p> <p>I need to upload this onto a server, so my intended approach was:</p> <p>1) Save container<br> 2) Upload tarball to server<br> 3) Load container</p> <p>However, when I run the following command:</p> <p><code>sudo docker save --output ~/etlf_961_meta.tar etlf/informatica9.6.1:latest</code> </p> <p>it just hangs and produces no output.</p> <p>The process is active, but no file appears and there is no activity:</p> <p><code>T20 chris # ps aux | grep "docker save" root 26179 0.0 0.0 91928 5000 pts/14 S+ 16:36 0:00 sudo docker save --output /home/chris/etlf_961_meta.tar etlf/informatica9.6.1:latest root 26201 0.0 0.0 127404 14664 pts/14 Sl+ 16:36 0:00 docker save --output /home/chris/etlf_961_meta.tar etlf/informatica9.6.1:latest root 26277 0.0 0.0 14232 980 pts/0 S+ 16:36 0:00 grep --color=auto docker save</code></p> <p>If I use <code>export</code> and <code>import</code> the process runs fine, a 15GB image is produced and can be imported, however I lose all the ENV and CMD metadata.</p> <p>Can anyone advise: </p> <p>1) How to resolve the <code>save</code> command, to actually export the container<br> or<br> 2) How to restore or attach the ENV/CMD metadata (..the dockerfile?) to a exported/imported image? </p> <p>Much appreciated</p>