serverless-haskell icon indicating copy to clipboard operation
serverless-haskell copied to clipboard

Deploy fails when using master / rootless Docker

Open danwdart opened this issue 6 years ago • 4 comments

Can we get it to allow non-normally-versioned Dockers?

npx sls deploy output: Error: Error when running Stack: Cannot get Docker version (invalid 'docker --version' output) docker --version output: Docker version master-dockerproject-2019-07-12, build 6fc0dc91 Docker installed via: curl -sSL https://get.docker.com/rootless | sh

Ta!

danwdart avatar Nov 14 '19 20:11 danwdart

How does one obtain this version of Docker?

This is a result of running stack --docker on the project, so the bug should be passed to Stack.

koterpillar avatar Nov 15 '19 10:11 koterpillar

It's just what I got when doing curl -sSL https://get.docker.com/rootless | sh

So yes, makes sense

danwdart avatar Nov 15 '19 10:11 danwdart

Here's the Stack issue: https://github.com/commercialhaskell/stack/issues/5087

danwdart avatar Nov 15 '19 10:11 danwdart

Thank you for raising that.

koterpillar avatar Nov 15 '19 10:11 koterpillar