Skip to content

Instantly share code, notes, and snippets.

@sanidhya-singh
Last active October 1, 2020 07:05
Show Gist options
  • Save sanidhya-singh/45b1e93f7569185d3eed20eaec3131dd to your computer and use it in GitHub Desktop.
Save sanidhya-singh/45b1e93f7569185d3eed20eaec3131dd to your computer and use it in GitHub Desktop.
Key Description
image Name of the image to be used for the container
volumes Volume to be mounted for the container
restart Specify if the container should restart when the host machine restarts
enviroment Configure environment variables for the container (as supported by the image)
port Maps a port from the container to the host machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment