Skip to content

Instantly share code, notes, and snippets.

@fonylew
Last active April 30, 2016 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fonylew/f1fe581799d28eee5b92c7f85b35eaca to your computer and use it in GitHub Desktop.
Save fonylew/f1fe581799d28eee5b92c7f85b35eaca to your computer and use it in GitHub Desktop.
# Export Docker Container
docker export graphdb | gzip > graphdb.tar.gz
docker export rstudio | gzip > rstudio.tar.gz
docker export php | gzip > php.tar.gz
# Download exported tar.gz
python -m SimpleHTTPServer
# Download in another machine with wget
gunzip -c graphdb.tar.gz | docker import - graphdb
docker run -t -i graphdb /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment