aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-07 16:52:03 +0300
committerValentin Popov <info@valentineus.link>2017-10-07 16:52:03 +0300
commit804a466b0a3a6c5f9b64c2ad915fa32e1cce6065 (patch)
treecf3ccfbbf5876fe339bb729dc1996bfadbec5e57 /README.md
parent72dfa17df48760efb399e1d6e9c946d8870a2b6b (diff)
downloadsimple-container-804a466b0a3a6c5f9b64c2ad915fa32e1cce6065.tar.xz
simple-container-804a466b0a3a6c5f9b64c2ad915fa32e1cce6065.zip
Release of version 1.0.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 1 insertions, 24 deletions
diff --git a/README.md b/README.md
index db052e0..16243b2 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,7 @@ npm install --save simple-container
A simple example that creates and starts a container:
```JavaScript
import Containers from 'simple-container';
+
var containers = new Containers();
containers.create('hello-world:latest').then(container => {
@@ -168,30 +169,6 @@ containers.info('21ae4a54be582d13fffd796341b3561a8c8e0c59dd6c6c3239529188e2b3321
});
```
-## Debugging
-Use the `DEBUG` variable with the `containers` option.
-
-Result of output:
-```bash
-$ DEBUG="containers" node ./example.js
- container { status: 'Pulling from library/postgres', id: 'alpine' } +0ms
- container { status: 'Already exists',
- container progressDetail: {},
- container id: '019300c8a437' } +0ms
- container { status: 'Pulling fs layer',
- container progressDetail: {},
- container id: '885fa9f8b950' } +0ms
-...
-```
-
-Or redefine the function to your own:
-```JavaScript
-containers.debug = function() {
- var args = Array.prototype.slice.call(arguments);
- /* Debugger code */
-}
-```
-
## License
[![JavaScript Style Guide](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/eslint/eslint)