question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New Version of Docker for Mac Breaks Version Check

See original GitHub issue

Getting the following after upgrading to Docker for Mac CE (they changed the name 🙄 )…

java.lang.RuntimeException: Could not parse Version from 17.03.0-ce
: `.' expected but `3' found
	at sbtdocker.DockerVersion$.parseVersion(DockerVersion.scala:26)
	at sbtdocker.DockerVersion$.apply(DockerVersion.scala:20)
	at sbtdocker.DockerTag$.apply(DockerTag.scala:17)
	at sbtdocker.DockerBuild$$anonfun$buildAndTag$1.apply(DockerBuild.scala:75)
	at sbtdocker.DockerBuild$$anonfun$buildAndTag$1.apply(DockerBuild.scala:74)
	at scala.collection.immutable.List.foreach(List.scala:318)
	at sbtdocker.DockerBuild$.buildAndTag(DockerBuild.scala:74)
	at sbtdocker.DockerBuild$.apply(DockerBuild.scala:45)
	at sbtdocker.DockerBuild$.apply(DockerBuild.scala:24)
	at sbtdocker.DockerSettings$$anonfun$baseDockerSettings$1.apply(DockerSettings.scala:17)
	at sbtdocker.DockerSettings$$anonfun$baseDockerSettings$1.apply(DockerSettings.scala:10)
	at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
	at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:63)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
	at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.Execute.work(Execute.scala:237)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
	at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
	at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[error] (*:docker) Could not parse Version from 17.03.0-ce
[error] : `.' expected but `3' found
[error] Total time: 106 s, completed Mar 2, 2017 10:16:52 AM

I checked out the version parsing code, I’ll see if I can whip up a fix.

EDIT: I should add, this is under sbt-docker v 1.4.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marcuslonnbergcommented, Mar 2, 2017

Fix available in version 1.4.1.

0reactions
felixt-cakecommented, Mar 3, 2017

Much appreciated @melgene

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Desktop release notes
Release notes for Docker Desktop for Mac, Linux, Windows. ... This page contains information about the new features, improvements, known issues, ...
Read more >
Update from 4.3.0 to 4.3.1 broke Docker app #6100 - GitHub
I have tried with the latest version of Docker Desktop [n/a] I have ... of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check.
Read more >
Why new Macs break your Docker build, and how to fix it
New Macs can break your Docker image build in unexpected ways; learn why, ... ERROR: Could not find a version that satisfies the...
Read more >
Docker won't run on Big Sur | Apple Developer Forums
Hi, this is a breaking change that can be fixed by upgrading your docker version to 2.3.0.4 Docker already pushed an update and...
Read more >
Get started with Docker for Mac
Ensure your versions of docker , docker-compose , and docker-machine are ... Check out the blog post, What's New in Docker 17.06 Community...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found