error: Found argument 'instance' which wasn't expected, or isn't valid in this context
- Dominant language
- Shell
- Stars
- 87
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
I've tried to follow the instructions but hit the following error at the second stage (under [how to use this image](https://github.com/edgedb/edgedb-docker#how-to-use-this-image)).
```sh
$ docker run -it --rm --link=edgedb -e EDGEDB_SERVER_PASSWORD=secret \
> -v edgedb-cli-config:/.config/edgedb edgedb/edgedb-cli \
> -H edgedb instance link my_instance
error: Found argument 'instance' which wasn't expected, or isn't valid in this context
If you tried to supply `instance` as a PATTERN use `-- instance`
USAGE:
edgedb [FLAGS] [OPTIONS] [SUBCOMMAND]
```
Can you advise? I'm not sure how to troubleshoot.
And / or would it be possible to share an example docker-compose file?
This would be easier (for me) to work from as I would obviously want to integrate EdgeDB in a larger application.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked “how to use this image” instructions and reproduce the reported Docker command to identify which documented command is outdated. Check the available EdgeDB CLI usage, then update the instructions or add the requested docker-compose example so the documented workflow runs without the reported argument error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- devops, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100