dkan-tools
dkan-tools copied to clipboard
Starting container process caused: exec: "dktl": executable file not found
I created a new Debian11 guest VM on a Debian11 kvm host and installed docker and docker compose within the VM. Then I followed: https://getdkan.github.io/dkan-tools/#installation.html I created to symlink for dktl in /use/bin/
The other docker images seem to work...
root@dkan:~/my_project# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9200c965824d getdkan/dkan-cli:v0.4.2 "/opt/startup.sh /us…" 11 minutes ago Up 11 minutes 0.0.0.0:49157->8888/tcp myproject_cli_1
d33879db2bfb drydockcloud/drupal-acquia-mysql:latest "/docker-entrypoint.…" 11 minutes ago Up 11 minutes 0.0.0.0:49156->3306/tcp myproject_db_1
f7539b27e68b traefik:v2.0 "/entrypoint.sh --lo…" 12 minutes ago Up 12 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:433->433/tcp, 0.0.0.0:8080->8080/tcp dktl-proxy
But here I do not know why this happens. It seems, that the docker image does not find the dktl within the container... but why?
root@dkan:~/my_project# dktl init
OCI runtime exec failed: exec failed: container_linux.go:367: starting container process caused: exec: "dktl": executable file not found in $PATH: unknown
Restarting myproject_web_1 ... done