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"

  • Installing tensorflow through docker on Ubuntu 14.04
  • How to use awslog driver in to get the logs from the docker container?
  • Network mode - host on docker native
  • Kubernetes: Cannot deploy flask web app with apache and https
  • Database in a Docker application
  • Docker Cloud Service Discovery Two Containers
  • Using docker-maven-plugin and tried maven-assembly-plugin with main class called out explicitly.

    docker version Boot2Docker 1.7.0

  • Git repo structure with multiple docker files
  • Dynamically start new Docker containers when needed?
  • Remove local Docker images on macOS
  • Running Docker script application inside a container
  • cant start SonarQube docker container via Marathon with port mapping
  • ps --filter does not work with -H
  • 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.