Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild command #52

Open
gilbitron opened this issue Jan 4, 2018 · 4 comments
Open

Rebuild command #52

gilbitron opened this issue Jan 4, 2018 · 4 comments

Comments

@gilbitron
Copy link

gilbitron commented Jan 4, 2018

It would be cool if there was a built-in command for rebuilding your containers (e.g. ./vessel rebuild). Basically just a shortcut for:

./vessel down
docker image rm vessel/app
docker image rm vessel/node
./vessel build
./vessel start
@mikeerickson
Copy link
Contributor

Add this to your .bashrc file (or .bash_profile if you have one)

function rebuild() {
  ./vessel down
  docker image rm vessel/app
  docker image rm vessel/node
  ./vessel build
  ./vessel start
}

@gilbitron
Copy link
Author

Sure, but it would be nice to have the command as part of vessel itself.

@mikeerickson
Copy link
Contributor

mikeerickson commented Jan 4, 2018 via email

@mfour-merickson
Copy link

@gilbitron FWIW, I think this would be a worthwhile addition to the core. Especially when something like this is integrated #66

cc: @fideloper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants