The doctl
repo provides a Dockerfile to build the image since version 1.6.0
. See digitalocean/doctl#146 for more info.
This is a Dockerized version of Digital Ocean's doctl.
1.6.0
1.4.0
You need to set an env var DIGITALOCEAN_ACCESS_TOKEN
, which you can get from the Applications & API.
docker run -it --rm -e DIGITALOCEAN_ACCESS_TOKEN="your_token_goes_here" francolaiuppa/doctl
Alternatively, you could also mount a .dotctlcfg
to /root/.dotctlcfg
with contents:
access_token: YOUR_TOKEN_HERE
Found a bug? Have a PR? Please track it on GitHub Issues: francolaiuppa/docker-doctl/issues.