Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.6k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...