Depending on the environment, you'll need to use different `client` images. The client images for the various environments are published at the following locations:
| Play | `gitlabregistry.pep.cs.ru.nl/pep-public/core/play-acc:latest` | *none* |
`pepcli` can be found inside these images in `/app`
These image contain configuration to connect with their environment. You do need to point pepcli to the config directory, which is located in `/config`, by using the switch `--client-working-directory /config`.
Depending on your usage, you may need to run docker with some bind mounts:
- Any files that you want to be available inside the container (e.g. OAuthToken.json)
- A writable volume to write data to, e.g. when using `pepcli pull`.
For example, if you have your OAuth token in `/home/$(whoami)/PEP/OAuthToken.json`, and want to download data to `/mnt/data/pulled-data`, you could run docker as follows:
```
docker run --it --volume /mnt/data:/output --volume --volume /token:/home/$(whoami)/PEP:ro <IMAGE_NAME> bash
```
You now have a bash shell inside the docker container. You can do the following to download data: