edgedb-docker icon indicating copy to clipboard operation
edgedb-docker copied to clipboard

error: Found argument 'instance' which wasn't expected, or isn't valid in this context

Open docsteveharris opened this issue 4 years ago • 0 comments

I've tried to follow the instructions but hit the following error at the second stage (under how to use this image).

$ 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.

docsteveharris avatar Dec 30 '21 22:12 docsteveharris