gitlab-time-tracker icon indicating copy to clipboard operation
gitlab-time-tracker copied to clipboard

Volume name is too short error

Open demisx opened this issue 4 years ago • 3 comments

Following installation instruction and running:

docker run \
       --rm -it \
       -v ~:/root \
       kriskbx/gitlab-time-tracker \
       --help

Produces the following error MacOs 10.15.3:

Unable to find image 'kriskbx/gitlab-time-tracker:latest' locally
latest: Pulling from kriskbx/gitlab-time-tracker
88286f41530e: Pull complete 
6a722742375f: Pull complete 
7e9d2f284de4: Pull complete 
7c5823d31706: Pull complete 
Digest: sha256:a146354f95c5c6afee49cac099c9ff19dd30908a20ec34ceb235a62f59f53216
Status: Downloaded newer image for kriskbx/gitlab-time-tracker:latest
docker: Error response from daemon: create ~: volume name is too short, names should be at least two alphanumeric characters.
See 'docker run --help'.

demisx avatar Feb 06 '20 18:02 demisx

That is a docker limitation, try with ${PWD} instead.

juanluisbaptiste avatar Jul 01 '20 01:07 juanluisbaptiste

Documentation was fixed with PR #108

juanluisbaptiste avatar Jul 01 '20 01:07 juanluisbaptiste

Sorry, taking a closer look at PR #108 it does not fix the issue. The correct way to run this container is as explained here.

juanluisbaptiste avatar Jul 01 '20 02:07 juanluisbaptiste