Jump to content

phanindra

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. The command shouldn't have spaces after the commas. docker run -p 8080:8080 -p 50000:50000 --name=jenkins-master --mount source=jenkins-log, target=/var/log/jenkins --mount source=jenkins-data, target=/var/jenkins_home -d myjenkins ( you gave space after log, and data ,) please check your command. it should be like this >> docker run -p 8080:8080 -p 50000:50000 --name=jenkins-master --mount source=jenkins-log,target=/var/log/jenkins --mount source=jenkins-data,target=/var/jenkins_home -d myjenkins
  2. i tried this procedure https://linuxhint.com/install_jenkins_docker_ubuntu/ every thing went fine till final step but after giving this command $ docker exec jenkins-master tail -f /var/log/jenkins/jenkins.log its giving error as:Error response from daemon: Container 0f62b0a4990fd1287a8d1da3dd68662117a1cf480b3dd5c6ad1c7a18f56a09d2 is not running. and Jenkins is not opening in web browser. pleas solve the issue .
×
×
  • Create New...