dstart

command module
v0.0.0-...-156505d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

README

 _| __|_ _ .__|_
(_|_\ | (_||  | 

dstart

Want to restart your Docker daemon but not nuke all of the containers you have running? Always forget to run them with --restart or don't necessarily want to? Then dstart may be for you!

dstart will stop all of the containers you have running, restart the Docker daemon, then restart all of the containers in the correct order- so your links are preserved!

To top it all off, it does all of this concurrently - so, if a container does not depend on other containers to start, the message to start it will be sent at the same time as all the other, unrelated ones.

Usage

dstart is written in Go with just a few dependencies.

I will probably cut a binary soon, but if you want install it from source:

$ go get -u github.com/Sirupsen/logrus
$ go get -u github.com/samalba/dockerclient
$ go get -u github.com/nathanleclaire/dstart

Now you have the dstart binary installed and you are just a sudo dstart away from restart-ey goodness. The sudo is needed in order to restart the Docker system service.

$ sudo dstart

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL