Project Lifecycle
dokrypt exec
Execute a command inside a running service container.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Execute a command inside a running service container.
dokrypt exec <service> <command> [args...] [flags]
| Argument | Required | Description |
|---|---|---|
service | Yes | Service name (as defined in dokrypt.yaml) |
command | Yes | Command to execute |
args | No | Additional command arguments |
| Flag | Type | Default | Description |
|---|---|---|---|
-i, --interactive | bool | false | Keep stdin open |
-t, --tty | bool | false | Allocate a pseudo-TTY |
dokrypt exec ethereum sh
dokrypt exec ethereum cast block latest
dokrypt exec ipfs ipfs id
dokrypt exec ethereum ls -la /
dokrypt exec -it ethereum bash
| Error | Cause | Solution |
|---|---|---|
Service not found | Service name doesn’t match config | Check dokrypt status for service names |
Container not running | The service is stopped | Start it with dokrypt up --service <name> |