edgedb / edgedb-docker

Official Docker Image packaging for EdgeDB
83 stars 16 forks source link

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

Open docsteveharris opened 2 years ago

docsteveharris commented 2 years ago

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.