In a Bamboo server one can setup a Deployment Plan and execute a command with an "SSH Task". Im trying to get bamboo to run a docker command but the log just states
sh: docker: command not found
The specific command that I am trying to run is to verify a nginx configuration:
docker exec -it nginx nginx -t
most likely not the best practices but I'm learning (a plan has copied all the configurations into a docker volume, so I just want to run a extra check before reloading the configs on nginx).
question from:
https://stackoverflow.com/questions/65876117/docker-command-over-ssh-from-bamboo-task 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…