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"

  • Temporary disabling exposed ports on Docker
  • Access application deployed in windows docker container from other machine
  • Running PhantomJS Selenium Node on Kubernetes
  • Run docker image with docker-compose
  • Specify requested resource for running a docker app over Mesos
  • Docker, referencing a differnet container. Call mysqldump using php command
  • Using docker-maven-plugin and tried maven-assembly-plugin with main class called out explicitly.

    docker version Boot2Docker 1.7.0

  • Docker can not be installed on CentOS
  • Using MySQL in a Docker Container
  • how can i restore the backup.py plugin data of errbot running in a docker container
  • Docker compose new image and instance
  • Can't install minimesos on Vagrant — Failed to run command 'up'. null
  • Managing mysql users in a Docker environment
  • 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.