Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Starting container process caused: exec: "dktl": executable file not found #346

Open
ahzf opened this issue Feb 20, 2023 · 0 comments
Open
Labels

Comments

@ahzf
Copy link

ahzf commented Feb 20, 2023

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
@ahzf ahzf added the DevOps label Feb 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant