Closed insanitybit closed 1 year ago
Currently every container is created with sleep infinity as its command. Subsequent work is then done through docker exec API calls.
sleep infinity
command
docker exec
It's worth considering other design options.
I've changed this so that instead of persistent containers cargo-sandbox will create, execute, and then remove the container (ephemeral containers). State is then managed via mounts.
cargo-sandbox
Currently every container is created with
sleep infinity
as itscommand
. Subsequent work is then done throughdocker exec
API calls.It's worth considering other design options.