FAQ applications
How to add an application ?
To add an application : - get the json file of an application - push the json file to the abcdesktop's images endpoint
wget https://raw.githubusercontent.com/abcdesktopio/oc.apps/main/2048-alpine.d.3.0.json
curl -X POST -H 'Content-Type: text/javascript' http://localhost:30443/API/manager/image -d @2048-alpine.d.3.0.json
The first start will pull the 2048 image, so it can take a while.
How to delete all applications ?
To delete all applications use the images endpoint, replace localhost:30443 by your own datas
curl -X DELETE -H 'Content-Type: text/javascript' http://localhost:30443/API/manager/images/
It returns a json list of all deleted applications
["abcdesktopio/2048-alpine.d:3.0", "abcdesktopio/2048-ubuntu.d:3.0", "abcdesktopio/apachedirectorystudio.d:3.0", "abcdesktopio/astromenace.d:3.0", "abcdesktopio/base.d:3.0", "abcdesktopio/beekeeperstudio.d:3.0", "abcdesktopio/blender.d:3.0", "abcdesktopio/bless.d:3.0", "abcdesktopio/blobby.d:3.0", "abcdesktopio/boxes.d:3.0", "abcdesktopio/calculator.d:3.0", "abcdesktopio/chess.d:3.0", "abcdesktopio/chimerax.d:dev", "abcdesktopio/chrome.d:3.0", "abcdesktopio/chromium.d:3.0", "abcdesktopio/citrix.d:3.0", "abcdesktopio/cloudfoundry.d:3.0", "abcdesktopio/cmd.exe.d:3.0", "abcdesktopio/corsix-th.d:3.0", "abcdesktopio/cuda.d:dev"]
How to get application logs ?
To get logs if an application doesn't start, you have to:
Open the webshell and read the logs files.
The log files are /tmp/lastcmd.log, /tmp/lastcmdenv.log and /tmp/NAME OF THE APPLICATION.log.
/tmp/lastcmd.logthe init command log file created by /composer/appli-docker-entrypoint.sh/tmp/lastcmdenv.logthe last environment variables file/tmp/NAME OF THE APPLICATION.logthe command log file for the application