From a5f4deab397e4e70460acfa6fe17738ea819ac6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Siwiec?= Date: Mon, 24 Sep 2018 13:27:26 +0200 Subject: [PATCH] Readme updated --- readme.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6b1e8b9..c6380ca 100644 --- a/readme.md +++ b/readme.md @@ -12,13 +12,18 @@ npm install --save-dev docker-compose `docker-compose` current supports these commands: -* `up(options)` - create and start containers - always uses the `-d` flag due to non interactive mode +* `upAll(options)` - Create and start containers - always uses the `-d` flag due to non interactive mode +* `upMany(services, options)` - Create and start containers specified in `services` - always uses the `-d` flag due to non interactive mode +* `upOne(service, options)` - Create and start container specified in `service` - always uses the `-d` flag due to non interactive mode * `down(options)` - Stop and remove containers, networks, images, and volumes * `kill(options)` - Kill containers * `stop(options)` - Stop services * `rm(options)` - Remove stopped containers - always uses the `-f` flag due to non interactive mode * `exec(container, command, options)` - Exec `command` inside `container`, uses `-T` to properly handle stdin & stdout * `run(container, command, options)` - Run `command` inside `container`, uses `-T` to properly handle stdin & stdout +* `buildAll(options)` - Build all images +* `buildMany(services, options)` - Build images of specified services +* `buildOne(service, options)` - Build image of specified service All commands return a `Promise({object})` with an stdout and stderr strings ```javascript