The command that can save you typing 15 characters or more, each time!
This plugins adds
down commands when it detects a docker-compose or Vagrant file in the current directory (e.g. your application). Just run
up and get coding! This saves you typing
vagrant every time or aliasing them. Also gives you one set of commands that work for both environments.
Aside from simply running
up, you can also extend your configuration by running
up <name>, which will run
docker-compose with both
docker-compose.yml and extend it with
docker-compose.<name>.yml. For more on extending please see the official docker documentation. Additional arguments will be directly supplied to the docker-compose.
Vagrant doesn't have a
stop commands natively but don't worry, that's been taken care of and running those commands will actually run vagrant's equivalent commands. Additional arguments will be directly supplied to vagrant.
|Command||Vagrant command||Docker command|
Clone this repository in
git clone https://github.com/Cloudstek/zsh-plugin-appup.git "$ZSH_CUSTOM/plugins/appup"
appupto the list of plugins
Clone this repository somewhere
~/.zshrcand add this line near the bottom of the file:
- Go to the directory where you cloned the plugin repository
git pull origin master
AppUp has a few configuration options to customise its behaviour. Please make sure you define these in
~/.zshrc before you load any plugins.
|APPUP_CHECK_STARTED||true/false||true||Enable/disable checking if docker is running completely.|
|APPUP_DOCKER_MACHINE||true/false||true||If both docker (e.g. Docker Desktop) and docker-machine are installed, check if docker-machine (when