Skip to content

Instantly share code, notes, and snippets.

View moxiegirl's full-sized avatar
😎
Stuff is happening.

Moxiegirl moxiegirl

😎
Stuff is happening.
  • @mobilesti
  • Wherever I go, there I am.
View GitHub Profile
Verifying my Blockstack ID is secured with the address 19WP59tkgr7vS5rbbdUiGBJnTTwYaqBVZF https://explorer.blockstack.org/address/19WP59tkgr7vS5rbbdUiGBJnTTwYaqBVZF
test
@moxiegirl
moxiegirl / breaking.md
Last active January 29, 2016 20:37
breaking
@moxiegirl
moxiegirl / debug.sh
Created January 12, 2016 00:19 — forked from dreamcat4/debug.sh
entrypoint script to take core files, and another script to take a stacktrace (while program is hung running, deadlocked / live-locked)
#!/bin/bash
# Tvheadend Debugging Guide
# https://tvheadend.org/projects/tvheadend/wiki/Debugging
_cleanup ()
{
if [ "$core_pattern_orig" ]; then
# Restore core path
echo "$core_pattern_orig" > /proc/sys/kernel/core_pattern
- [User guide](/compose/index)
- [User guide](/compose/index-dthing-ddd)
- [Command line reference](/compose/cli)
- [Yaml file reference](/compose/yml)
- [Compose environment variables](/compose/env)
- [Compose command line completion](/completion.md) ![Windows Architecture Diagram](/installation/images/win_docker_host.svg)
- [Compose command line completion](../../foobar/completion.md)
- [Compose command line completion](./beeboo/completion.md)
Go to [Using Docker Hub](/userguide/dockerhub).
@moxiegirl
moxiegirl / event_state.svg
Created May 24, 2015 13:47
event-state-svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Block IO bandwidth (Blkio) constraint

By default, all containers get the same proportion of block IO bandwidth (blkio). This proportion is 500. To modify this proportion, change the container's blkio weight relative to the weighting of all other running containers using the --blkio-weight flag.

The --blkio-weight flag can set the weighting to a value between 10 to 1000. For example, the commands below create two containers with different blkio weight:

@moxiegirl
moxiegirl / gist:30a3805c7dc1cbab87d3
Last active August 29, 2015 14:17
11062 Joyent

page_title: Install on Joyent Public Cloud page_description: Installation instructions for Docker on the Joyent Compute Service. page_keywords: Docker, Docker documentation, installation, joyent, Joyent Public Cloud, Joyent Compute Service, Joyent Container Service

Install on Joyent Public Cloud

  1. Sign in to the Joyent customer portal

  2. Create a Docker host.

docker build -t "docker:master" .
Sending build context to Docker daemon 557.1 kB
Sending build context to Docker daemon 1.114 MB
Sending build context to Docker daemon 1.671 MB
Sending build context to Docker daemon 2.228 MB
Sending build context to Docker daemon 2.785 MB
Sending build context to Docker daemon 3.342 MB
Sending build context to Docker daemon 3.899 MB
Sending build context to Docker daemon 4.456 MB
Sending build context to Docker daemon 5.014 MB