digitalocean / digitalocean/doctl

doctl fail to install serverless when using docker

Open
#1,656 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

I am trying to use the **docker** version of doctl and:

1. sadly the image was created without serverless support already installed (why?) (also mentioned here #1559)
2. it fails when running `docker run --rm -it --env=DIGITALOCEAN_ACCESS_TOKEN=??? digitalocean/doctl serverless install`. Error is: `stat /root/.config/doctl: no such file or directory`
3. unable to access container's shell to check for the correct path and fix it with the install option `-c`

**Environment:**

- doctl version:
```
REPOSITORY TAG IMAGE ID CREATED SIZE
digitalocean/doctl latest 02672a76bc47 2 hours ago 50MB

doctl version 1.121.0-release
Git commit hash: a24ecf6c
```
- OS: linux debian
- Installation method: docker

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.