Unable to run docker image – no main manifest attribute, in app.jar

Unable to run a docker image built. When I run with the command

docker run -p 8080:8080 -t {image prefix name}/{image name}

I get a message "no main manifest attribute, in app.jar"

  • Workers dying early due to uneven work distribution in Luigi (2.6.1)
  • Why doesn't Linux seek the command in all the directories in PATH environment?
  • jHipster fails to generate Gateway Docker Images
  • How can I know which docker will restart after docker daemon restarts
  • Error when building the blackbox_exporter Docker image
  • NetfilterQueue not working in a docker container
  • Using docker-maven-plugin and tried maven-assembly-plugin with main class called out explicitly.

    docker version Boot2Docker 1.7.0

  • Docker maven plugin NullPointerException
  • Docker with a Virtual Sound Card for Stream Altering
  • run angular2 springboot application on docker, it shows index page but angular not loaded on that
  • Confuse about docker's -i “Keep STDIN open even if not attached”
  • Disable certain Docker run options
  • How to run etcd cluster in docker using ansible?
  • One Solution collect form web for “Unable to run docker image – no main manifest attribute, in app.jar”

    Have you tried executing the jar without Docker?? For example, using “java -jar MyProjectName.jar” in command line.

    Maven – Can't Execute JAR

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.