I'm using this docker image. I assume this is the official one.
Following the basic instructions from that page I have an instance with either of the two example commandsdocker run --rm --pull always --name surrealdb -p 8000:8000 surrealdb/surrealdb:latest start
or
docker run --rm --pull always --name surrealdb -p 8000:8000 surrealdb/surrealdb:latest start --log trace --user root --pass root memory
However, when I attempt to use the example command to access the CLI
docker exec -it <COPIED_FROM_DOCKER> /surreal sql -c http://localhost:8000 -u root -p root --ns test --db test --pretty
I get the above error unexpected argument '-c' found
I have looked at the official documentation but I see no example of trying to use the docker exec command.
Is the documentation in docker hub incorrect? I'm on macOS Sonoma 14.2.