Running script/cli invokes docker-compose run, which creates a new container. This causes a new Docker container to be created every single time script/cli is invoked, which causes many unused containers to accumulate on the system.
I think it would a good idea for script/cli to either re-use the same Docker container across multiple invocations, or to automatically clear out old containers (since there doesn't appear to be any state shared between invocations).
Running
script/cli
invokesdocker-compose run
, which creates a new container. This causes a new Docker container to be created every single timescript/cli
is invoked, which causes many unused containers to accumulate on the system.I think it would a good idea for
script/cli
to either re-use the same Docker container across multiple invocations, or to automatically clear out old containers (since there doesn't appear to be any state shared between invocations).