Skip to content

Instantly share code, notes, and snippets.

Amos Folarin afolarin

  • Kings College London / SLaM NHS Trust
  • London, UK
Block or report user

Report or block afolarin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:326bc4429c7c28d07a703d075189f8de
#DESC: Providing a overview of all the Instances running across the individual regions, something not readily available in AWS web UI :-/
# Install AWS CLI
# List all aws instances in all regions, parse out response JSON
# Props to:
function aws-ls-ec2-vm
afolarin /
Last active Oct 13, 2019
Resource Allocation in Docker

#Container Resource Allocation Options in docker-run

now see:

You have various options for controlling resources (cpu, memory, disk) in docker. These are principally via the docker-run command options.

##Dynamic CPU Allocation -c, --cpu-shares=0
CPU shares (relative weight, specify some numeric value which is used to allocate relative cpu share)

afolarin /
Last active Aug 29, 2015
Docker on Google Compute Engine
You can’t perform that action at this time.