3 ms·
Better? Absolutely. More ubiquitous? Not really. I use it for executing docker as well, because the docker command is actually about 5 commands with long list
by falcolas 4y ago
Better? Absolutely.
More ubiquitous? Not really.
I use it for executing docker as well, because the docker command is actually about 5 commands with long lists of parameters. But it's just `make docker-stack` for everyone now.
- LtWorf 4y agoBut then the docker command is starting docker and running the same makefile again inside the container, which becomes hellish to reason about. It's probably better to just make a separate script for that instead.
- falcolas 4y agoThat is odd. Within the docker container, I agree, you probably shouldn't do that. Esp. since Dockerfiles themselves allow you to run a list of shell commands as your entrypoint.