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:
I hereby claim:
To claim this, I am signing this object:
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 { |
These are instructions for booting from an Ubuntu liveCD and installing NixOS on a machine. I needed to do this because the NixOS liveCD doesn't work on my machine (NixOS/nixpkgs#5829), so I'm just using the Ubuntu installation media as something to boot into.
Much of this is from discussion at NixOS/nixpkgs#14680.
Get the Ubuntu ISO: http://releases.ubuntu.com/16.04.1/ubuntu-16.04.1-desktop-amd64.iso
Write it to a USB drive with unetbootin
/etc/docker/daemon.json
to add "debug": true
. E.g.:{
"debug": true
}
kill -HUP $(cat /run/docker.pid)