Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start Jenkins in Laradock #1861

Closed
eokorieFA opened this issue Oct 29, 2018 · 6 comments
Closed

Unable to start Jenkins in Laradock #1861

eokorieFA opened this issue Oct 29, 2018 · 6 comments

Comments

@eokorieFA
Copy link

Info:

  • Docker version ($ docker --version): Docker version 18.06.1-ce, build e68fc7a
  • Laradock commit ($ git rev-parse HEAD): 538b6aa
  • System info (Mac, PC, Linux): PC
  • System info disto/version: Windows 10

Issue:

_____ Unable to start Jenkins.

Expected behavior:

_____ I should be able to access the Jenkin UI via localhost:8090.

Reproduce:

_____ docker-compose up -d jenkins

Relevant Code:

λ docker-compose up jenkins
Recreating laradock_jenkins_1 ... done
Attaching to laradock_jenkins_1
: invalid option       | /bin/bash: -
laradock_jenkins_1 exited with code 1
@kamicloud
Copy link

+1 I meet this issue on Windows 10 too

@kamicloud
Copy link

kamicloud commented Dec 3, 2018

It was caused by git, which auto transformed LF to CRLF on windows.
I solved problem by:
git config --global core.autocrlf false
then re clone & build the project
@eokorieFA

@fero
Copy link

fero commented Jan 10, 2019

@ttdnts it works. gG

@gmatkowski
Copy link

It was caused by git, which auto transformed LF to CRLF on windows.
I solved problem by:
git config --global core.autocrlf false
then re clone & build the project
@eokorieFA

Can you please tell me what EXACTLY have you done to finally make it work? I have same issue and can't really figure it out :-/

Have you cloned whole LARADOCK one more time after this command:
git config --global core.autocrlf false

? Or what?

@fero
Copy link

fero commented Feb 28, 2019

@gmatkowski like @kamicloud said, on your windows machine run git config --global core.autocrlf false in command line and then re-clone laradock and rebuild it.

@gmatkowski
Copy link

Oh, ok RE-CLONE laradock - that's fine, I'm gonna try :-) thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants