This folder contains examples of how to use the Docker CLI JavaScript SDK.
To run the examples you will need to have an ACI context as default and the Docker CLI API server running. You can do this by running:
$ docker context create aci-context aci
$ docker context use aci-context
$ docker serve --address unix:///tmp/backend.sock
To make sure that you have the example dependencies installed, use:
$ yarn
You can then run any an example from the root of this repository as follows:
$ npm run example examples/<file>