4 ms·
Why would you put a CLI tool in a docker instance? I'd understand if it were a server environment or web application.
by cpburns2009 8y ago
Why would you put a CLI tool in a docker instance? I'd understand if it were a server environment or web application.
- 013a 8y ago> This can be a great way to get a CLI tool loaded into a bespoke CI environment.
- cpburns2009 8y agoOkay, you have the CLI tool in one or more isolated Docker instances. What then?
- 013a 8y agoNo, you start the docker container to run the CLI tool, because the tool is exported as the CMD for the image, like this one [1] [1] https://hub.docker.com/r/mesosphere/aws-cli/ https://hub.docker.com/r/mesosphere/aws-cli/
- cpburns2009 8y agoI had no idea you could run a Docker image as a command. I thought it simply allowed you to run light weight VMs running on the same kernel.