Coder Social home page Coder Social logo

dstart's Introduction

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

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

dstart's People

Contributors

nathanleclaire avatar

Stargazers

Kevin Hatfield avatar  avatar Adrian Lanzafame avatar

Watchers

James Cloos avatar  avatar

Forkers

cloudxtreme

dstart's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.