Docker push fails with fatal error msg=“”

Using the sbt-docker plugin, I execute sbt dockerBuildAndPush and see the following output after assembly:

[info] Pushing docker image with name: 'myorg/myrepo'
[info] The push refers to a repository [myorg/myrepo] (len: 1)
[info] Sending image list
[info] Pushing repository myorg/myrepo (1 tags)
[info] 511136ea3c5a: Pushing
[info] 511136ea3c5a: Image already pushed, skipping
[info] 19df420c532f: Pushing
[info] 19df420c532f: Image already pushed, skipping
... 14 more of these message pairs ...
[info] 53531ebeee8d: Pushing
[info] 53531ebeee8d: Buffering to disk
[info] time="2015-04-08T20:50:50+10:00" level="fatal" msg=""
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.process.BasicIO$Streamed$.scala$sys$process$BasicIO$Streamed$$next$1(BasicIO.scala:48)

build.sbt includes:

  • docker-compose copies files as folder
  • What is inside a Docker Ubuntu Image if Docker doesn't encapsulate an OS?
  • How to connect external mysql server in docker container
  • TcpProxy running in Docker not working
  • Docker for Mac cannot access containers outside of host
  • How to use Moby to create a custom made container system?
  • docker <<= (docker dependsOn assembly)
    dockerfile in docker := {
      val artifact = (assemblyOutputPath in assembly).value
      val artifactTargetPath = "/app/server.jar"
      new Dockerfile {
        maintainer("MyOrg", "")
        run("mkdir", "-p", "/app/data")
        run("chown", "daemon", "/app/data")
        add(artifact, artifactTargetPath)
        entryPoint("java", "-Xmx8g", "-jar", artifactTargetPath)
    imageNames in docker := Seq(

    Why is it failing?

  • ImportError: No module named ssl_match_hostname when importing the docker SDK for Python
  • Structure of Angular / NodeJS repository which will run in docker
  • Sails application cannot accessed from web browser. Connection refused
  • Can I use virtualization to control for differences in host performance when benchmarking for performance regressions in my application?
  • how to create a docker image/container with same file rights as host user
  • `docker-compose up` times out with UnixHTTPConnectionPool
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.