Hi guys, i’m facing same trouble here and it’s driving me crazy,
I’m trying to run a Jenkins container but everytime a run the command when i go to see the status of this container the container it’s not running, for all other containers they run very well expect this one.
Can you guys help-me please?
Here are the steps that i took:
[root@notebook ~]# docker volume create jenkins2
jenkins2
[root@notebook ~]# docker container run -it -d --name=tadeu_jenkins -p 8080:8080 -p 50000:50000 jenkins -v jenkins2:/var/tadeu_jenkins /bin/bash
And everytime when i go to see the status of the containers i got this:
[root@notebook ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fd6947bd547d jenkins “/bin/tini – /usr…” About a minute ago Exited (2) About a minute ago tadeu_jenkins
I even update my Docker, stopped and started his daemon and reboot the system i couple of times.
I dont know what i’m doing wrong.
Please helpe, anyone!
Thanks!!