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"

  • VirtualBox memory exception - std::bad_alloc using TensorFlow and Docker
  • Copy Docker container from boot2docker under OS X
  • Cant reach node server running in docker container in vm
  • Docker Swarm : How to setup multiple containers on same volume
  • Download size of docker images
  • .ebextensions with Docker on elasticbeanstalk
  • Using docker-maven-plugin and tried maven-assembly-plugin with main class called out explicitly.

    docker version Boot2Docker 1.7.0

  • Passing Tomcat parameters to Docker
  • expose docker containers application port to host on windows using boot2docker
  • How to run Linux Docker images on Windows Server 2016?
  • Mesos, Marathon, Docker, Wildfly
  • Unable to install docker
  • Is there a formula for calculating the overhead of a Docker container?
  • 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.