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

docker cleanup fails: cannot parse version #1653

Closed
lubomir opened this issue Jan 14, 2016 · 1 comment
Closed

docker cleanup fails: cannot parse version #1653

lubomir opened this issue Jan 14, 2016 · 1 comment

Comments

@lubomir
Copy link
Contributor

lubomir commented Jan 14, 2016

I'm running on Fedora 23, installing stack according to the instructions on haskellstack.com. I have not created any configuration, nor do I have GHC installed yet.

When running following command, I get an error:

$ stack docker cleanup
Cannot get Docker version (invalid 'docker --version' output).
$ docker --version
Docker version 1.9.1-fc23, build 110aed2-dirty
$ stack --version
Version 1.0.0, Git revision 3bc26237b5b3c387b8fd564459ea4dd88fd58b30 (2939 commits) x86_64
$ stack docker cleanup --verbose
Version 1.0.0, Git revision 3bc26237b5b3c387b8fd564459ea4dd88fd58b30 (2939 commits) x86_64
2016-01-14 14:58:35.948435: [debug] Checking for project config at: /home/lsedlar/stack.yaml @(stack_03v8PatSPAPLwmtfdY8jsA:Stack.Config src/Stack/Config.hs:577:9)
2016-01-14 14:58:35.948751: [debug] Checking for project config at: /home/stack.yaml @(stack_03v8PatSPAPLwmtfdY8jsA:Stack.Config src/Stack/Config.hs:577:9)
2016-01-14 14:58:35.948864: [debug] Checking for project config at: /stack.yaml @(stack_03v8PatSPAPLwmtfdY8jsA:Stack.Config src/Stack/Config.hs:577:9)
2016-01-14 14:58:35.948963: [debug] No project config file found, using defaults. @(stack_03v8PatSPAPLwmtfdY8jsA:Stack.Config src/Stack/Config.hs:604:13)
2016-01-14 14:58:35.950830: [debug] Run process: docker --version @(stack_03v8PatSPAPLwmtfdY8jsA:System.Process.Read src/System/Process/Read.hs:267:3)
Cannot get Docker version (invalid 'docker --version' output).

Docker is installed from Fedora repositories.

@mgsloan mgsloan added this to the P2: Should milestone Jan 15, 2016
@mgsloan mgsloan assigned mgsloan and unassigned mgsloan Jan 15, 2016
@borsboom borsboom self-assigned this Jan 17, 2016
@borsboom
Copy link
Contributor

Probably the version parsing doesn't handle the -fc23 suffix correctly.

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

3 participants