You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to run a docker command on your "Crontab UI Container", you need to have Docker installed and running. The message you get indicates that this is not the case.
If you want to execute a script on the "another container", you would need to figure out a way for your Crontab UI Container to communicate with the "another container" to make it do whatever it should do (ssh tunnel, http request, queue producer/consumer .... Whatever suits your needs).
From your error message I would infer that docker-cli at least is installed in your container? (Otherwise it would say Unknown command "docker"). I would expect you to need docker installed in the crontab-ui container for this to work.
If you have docker, easiest way is to mount the host's /var/run/docker.sock to the crontab-ui container with -v /var/run/docker.sock:/var/run/docker.sock in the docker run command, or in docker-compose.yml:
Make sure these boxes are checked( - [x] ) before submitting an issue.
npm --version
andnode --version
). Get the latest nodejs here.node_modules
folder has right permissions (Runls -ld $(npm root -g)/crontab-ui
)I'm trying to execute the command
However, I keep getting the following error :
I'm not running the cron job from the web portal so it shouldn't be a problem of docker not being installed on the
crontab-ui
docker container.This is what I'm trying to achieve :
Any idea what might be causing the issue??
The text was updated successfully, but these errors were encountered: