Oh nevermind, I see that you can use endpoint inst...
# spicedb
c
Oh nevermind, I see that you can use endpoint instead. Got things working, thank you
r
Hi @connor , Can you please specify the command that made this working? I am facing same issue of asking for keychain passphrase when trying to set context via running
zed
docker image
command I am using is -
docker run quay.io/authzed/zed context set local localhost:50051 "whateverkey" --insecure --token "whateverkey" --endpoint "localhost:50051" --permissions-system "spicedb" --no-verify-ca
Enter passphrase to unlock /root/.zed/keyring.jwt: **Error**: inappropriate ioctl for device
c
I never ran the zed command through docker
j
@Ravinder Cheema keychain won't work inside a docker container, since there is not place for it save it
r
thanks @Joey, any option to skip keychain part when executing commands from Zed cli via docker?
basically wants to automate schema write part
j
@Ravinder Cheema I recommend just installing
zed
directly
you shouldn't be calling
context set
on the containerized image at all
r
@Joey I am able to execute
schema write
by taking
alpine
as base image and installing
zed
on top of that. Is this the recommended way to push schema via gitops pipeline? Is there any way to directly consume
quay.io/authzed/zed
?
j
You can but then you need to mount the directory; installing zed is better
r
okay thanks
4 Views