Re:12 Factor CLI Apps
by cpburns2009 on Tuesday October 09, 2018 @08:33AM
(#18175356)
Why would you put a CLI tool in a docker instance? I'd understand if it were a server environment or web application.
[ Parent
| on HN ]
> This can be a great way to get a CLI tool loaded into a bespoke CI environment.
Re:12 Factor CLI Apps
by cpburns2009 on Tuesday October 09, 2018 @12:06PM
(#18177100)
Okay, you have the CLI tool in one or more isolated Docker instances. What then?
No, 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]
Re:12 Factor CLI Apps
by cpburns2009 on Tuesday October 09, 2018 @03:49PM
(#18179260)
I 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.