Skip to content

Instantly share code, notes, and snippets.

@francisbrito
Last active April 21, 2017 12:22
Show Gist options
  • Save francisbrito/1f83cdb22b70cf208b12a6a77abd9377 to your computer and use it in GitHub Desktop.
Save francisbrito/1f83cdb22b70cf208b12a6a77abd9377 to your computer and use it in GitHub Desktop.

Best practices

  • Always limit resource usage (memory, CPU)

    • You can determine how much resources your application consumes by doing docker stats <container>
  • Specify log driver configuration

    • Consider limit the amount and size of files generates if using JSON logger.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment