hc-9 data commands at the boundary: port/IDataExec on the docker CLI
engine (docker exec into a running container of a stack instance) and
port/ICommandRunner on the host runner (a host command run to
completion). Both extend the existing records, so their constructors and
namespaces stay as they are; requiring this ns is what extends them.
Secret references in a command's env are read at spawn through the
record's resolver and passed in the process environment only: docker exec gets -e VAR by NAME, so no value is ever in an argv, and what the
process prints is scrubbed of resolved values.
hc-9 data commands at the boundary: `port/IDataExec` on the docker CLI engine (`docker exec` into a running container of a stack instance) and `port/ICommandRunner` on the host runner (a host command run to completion). Both extend the existing records, so their constructors and namespaces stay as they are; requiring this ns is what extends them. Secret references in a command's env are read at spawn through the record's resolver and passed in the process environment only: `docker exec` gets `-e VAR` by NAME, so no value is ever in an argv, and what the process prints is scrubbed of resolved values.
(exec-argv container env-names argv)docker exec of argv in container, each of env-names passed by name
(-e VAR, its value read from the docker process's environment).
`docker exec` of `argv` in `container`, each of `env-names` passed by name (`-e VAR`, its value read from the docker process's environment).
(running-container-argv project service)The RUNNING containers of service in compose project project, one name
a line. Loads no compose file.
The RUNNING containers of `service` in compose project `project`, one name a line. Loads no compose file.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |