зеркало из https://github.com/docker/node-sdk.git
868903f63d
Signed-off-by: Christopher Crone <christopher.crone@docker.com> |
||
---|---|---|
.. | ||
README.md | ||
context-ls.ts | ||
ps.ts |
README.md
Examples
This folder contains examples of how to use the Docker CLI JavaScript SDK.
Prerequisites
To run the examples you will need to have the Docker CLI API server running. You can do this by running:
$ docker serve --address unix:///tmp/backend.sock
To make sure that you have the example dependencies installed, use:
$ yarn
Running examples
You can then run any an example from the root of this repository as follows:
$ npm run example examples/<file>