README.md in wrapbox-0.6.0 vs README.md in wrapbox-0.7.0
- old
+ new
@@ -33,11 +33,11 @@
memory: 1024
essential: true
docker:
runner: docker
- rm: true
+ keep_container: true
container_definitions:
- image: joker1007/wrapbox
cpu: 512
memory: 1024
@@ -116,10 +116,10 @@
### for docker
| name | desc |
| -------------------- | ----------------------------------------------------------- |
| container_definitions | only use `image`, `cpu`, `memory`, and `memory_reservation` |
-| rm | If true, add `--rm` to cmd options |
+| keep_container | If true, doesn't delete the container when the command ends |
| use_sudo | If true, invoke `sudo docker` command |
## API
#### `run(class_name, method_name, args, container_definition_overrides: {}, environments: [], task_role_arn: nil, cluster: nil, timeout: 3600 * 24, launch_timeout: 60 * 10, launch_retry: 10, retry_interval: 1, retry_interval_multiplier: 2, max_retry_interval: 120, execution_retry: 0)`