title: How to export/save an entire Docker container/image
body: <p>I installed a MySQL Docker image onto my system, configured and started a container off of it and imported a 2+ GB (bz2 compressed size) database into it. I would like to pack the entire container and transfer it onto another system.</p>
  
  <p>If I stop the running container and perform an export, it yields only a 118MB tar.bz file.</p>
  
  <p>If I commit my container into an image and save it, that also yields only a 118MB tar.bz file.</p>
  
  <p>What's the way to export/save the entirety of the container including the MySQL data? The MySQL image is 383.4MB and my modified image is also the same.</p>
  
  <hr>
  
  <p>I've found some trail: <a href="https://stackoverflow.com/questions/26331651/how-can-i-backup-a-docker-container-with-its-data-volumes">How can I backup a Docker-container with its data-volumes?</a></p>
  
  <hr>
  
  <p>Addition: currently I'm using an Ubuntu Linux flavor.</p>