Skip to content

Instantly share code, notes, and snippets.

View mlaventure's full-sized avatar
💻
Breaking more things!

Kenfe-Mickaël Laventure mlaventure

💻
Breaking more things!
  • Impulse Labs
  • San Francisco, California
View GitHub Profile
@mlaventure
mlaventure / live-debug.md
Created March 16, 2017 15:52
Activate debug mode in running docker daemon
  1. Update /etc/docker/daemon.json to add "debug": true. E.g.:
{
  "debug": true
}
  1. Reload the daemon configuration: kill -HUP $(cat /run/docker.pid)
@mlaventure
mlaventure / nixos-from-ubuntu.md
Last active September 16, 2021 14:32 — forked from chris-martin/nixos-from-ubuntu.md
How to install NixOS from an Ubuntu liveCD
func waitExitOrRemoved(dockerCli *client.DockerCli, ctx context.Context, containerID string, waitRemove bool) (chan int, error) {
if len(containerID) == 0 {
// containerID can never be empty
panic("Internal Error: waitExitOrRemoved needs a containerID as parameter")
}
statusChan := make(chan int)
exitCode := 125
eventProcessor := func(e events.Message, err error) error {

Keybase proof

I hereby claim:

  • I am mlaventure on github.
  • I am mlaventure (https://keybase.io/mlaventure) on keybase.
  • I have a public key whose fingerprint is 9B2C 159D 3747 048B 5AF0 9C7C 9131 FC97 B2E1 53F5

To claim this, I am signing this object: