hey guys, new here, been trying to pull the docker...
# talk-keto
s
hey guys, new here, been trying to pull the docker image and run it but it compains about a config file, gave it an empty keto.yml and all i get its the following:
Copy code
❯ docker run --rm -it oryd/keto:v0.9.0-alpha.0 -c keto.yml
Global and consistent permission and authorization server

Usage:
  keto [command]

Available Commands:
  check          Check whether a subject has a relation on an object
  completion     Generate the autocompletion script for the specified shell
  expand         Expand a subject set
  help           Help about any command
  migrate        Commands to migrate the database
  namespace      Read and manipulate namespaces
  relation-tuple Read and manipulate relation tuples
  serve          Starts the server and serves the HTTP REST and gRPC APIs
  status         Get the status of the upstream Keto instance
  version        Show the build version, build time, and git hash

Flags:
  -c, --config strings   Config files to load, overwriting in the order specified. (default [/home/ory/keto.yml])
  -h, --help             help for keto

Use "keto [command] --help" for more information about a command.
no docker image is running
b
Hey Bruno, i suppose that '-c' flag here doesn't do what you might think it does.
It doesn't take any effect on the keto command itself, it does take effect on docker command. It's been used to change context of the executing docker command.
I'm taking a look at the keto repository now, and it seems latest docker-compose file doesn't work either.
I will try to troubleshoot the problem, and will get back to you on that topic.
I think you might want to take a look at the doc: https://www.ory.sh/docs/keto/quickstart
m
Thanks Erol 🙌 You nailed it, @strong-kilobyte-61333 please have a look at the “Cat Video” Quickstart, that is our most “basic” quickstart for Keto running on Docker. If you have further ideas/feedback on examples, feel free to check out the community ory/examples repo: https://github.com/ory/examples (and open an issue/discussion)