Skip to content

Instantly share code, notes, and snippets.

@takurx
Created May 19, 2024 22:04
Show Gist options
  • Save takurx/c090f8b60a7dc79d1841f08162eab684 to your computer and use it in GitHub Desktop.
Save takurx/c090f8b60a7dc79d1841f08162eab684 to your computer and use it in GitHub Desktop.
try didkit docker

try didkit

Refrence

Log

chino@chino-Legion-5-15IAH7H:~$ docker run ghcr.io/spruceid/didkit-cli:latest --help
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
chino@chino-Legion-5-15IAH7H:~$ sudo docker run ghcr.io/spruceid/didkit-cli:latest --help
[sudo] password for chino: 
Sorry, try again.
[sudo] password for chino: 
Unable to find image 'ghcr.io/spruceid/didkit-cli:latest' locally
latest: Pulling from spruceid/didkit-cli
f56be85fc22e: Pull complete 
305d581a1aeb: Pull complete 
Digest: sha256:0e559663f962e2ced2fb4034e415f6b5dbdec57e85f69b546e7699ac6ba35219
Status: Downloaded newer image for ghcr.io/spruceid/didkit-cli:latest
Usage: didkit <COMMAND>

Commands:
  key           Subcommand for keypair operations
  did           Subcommand for DID operations
  credential    Subcommand for verifiable credential operations
  presentation  Subcommand for verifiable presentation operations
  jsonld        Subcommand for JSON-LD operations
  help          Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help
chino@chino-Legion-5-15IAH7H:~$ docker run --init -p 8080 ghcr.io/spruceid/didkit-http:latest --port 8080
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
chino@chino-Legion-5-15IAH7H:~$ sudo docker run --init -p 8080 ghcr.io/spruceid/didkit-http:latest --port 8080
Unable to find image 'ghcr.io/spruceid/didkit-http:latest' locally
latest: Pulling from spruceid/didkit-http
4abcf2066143: Pull complete 
5756ad45d4e0: Pull complete 
5222140dd96f: Pull complete 
Digest: sha256:1ac79449f45c1d725dd8bf7ee64ff6be208f76cdba7b1fcb2deb25a6bb517932
Status: Downloaded newer image for ghcr.io/spruceid/didkit-http:latest
[FATAL tini (7)] exec --port failed: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment