Closed JoanComasFdz closed 5 years ago
I fixed it by adding the folder name to the command
in the index.coffee
script:
command: "ubersicht-docker-containers-master/helper.sh getStatus"
Hi @JoanComasFdz , that is not required, the script works well if you follow the installation steps:
"To enable, place the dockercontainers.widget folder in your Übersicht/widgets directory."
If you download the zip from the latest releases page https://github.com/pauloamgomes/ubersicht-docker-containers/releases and extract the folder will have the correct name
I downloaded the zip file, extract the folder and copied the folder to the widgets folder of uberischt. The widget only shows No such file or directory:
The path usr/local/bin exists and contains a docker folder. Running the command
docker ps --format "table {{.ID}}|{{.Names}}|{{.Size}}|{{.Status}}" | grep -v CONTAINER
on terminal works. Running the commandosascript -e 'tell application "Terminal" to do script "docker exec -it '$1' sh"'
on terminal works.