We need better ways to manage KTD
Currently, using KTD
means either picking the right docker-compose*.yml
files or rely on the highly specific aliases that are provided. This has been handy, but there's a catch: if you want to (for example) pull the images for a specific setup you're using, you still need to manually craft the command line options. For example:
You use
$ ku-es7
So, to pull those images you still need to figure and build this command:
$ docker compose -f docker-compose.yml -f docker-compose.es7.yml pull
For that reason I've been using my own custom aliases for a while, so I can do things like this (p stands for plugin
:
$ ktd-es7p pull
$ ktd-es7p up -d
This is way more handy, but still highly specific. While thinking about this, I decided to write a shell script that allows passing CLI option switches to match your desired things.