Skip to content

Instantly share code, notes, and snippets.

@TimJMartin
Last active November 29, 2017 08:47
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 TimJMartin/7b96fb8b94c36418e86dc17ab2da6ee7 to your computer and use it in GitHub Desktop.
Save TimJMartin/7b96fb8b94c36418e86dc17ab2da6ee7 to your computer and use it in GitHub Desktop.
Docker Notes
To copy a file from an image to the host
docker run the-image cat path/to/container/file.txt > path/to/host/file.txt
Amazon Linux
This image can be used to replicate EC2 and AWS Lambdas so anything that needs to be built from source can be done on this docker image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment