Hey,
I’m not sure if it’s possible to do …
I want to be able to execute shell commands inside docker container via Jenkins job
The matrix that i’m try to get is:
- create freestyle Jenkins job
- add shell execute prompt and add those parameters:
- add ssh connection “ssh ec2-user@server-ip”
- add docker command: "docker exec -it [docker-name] bash + create text.txt file "
- finish the job
can someone cat tell if it’s possible to access with ssh commands via tty into the docker containers ?
Thanks for your help