I'am running docker on windows server 2016, when I try to build an image with a Dockerfile that contains this text:
FROM openjdk:8-jdk-alpine
ADD target/eureka-server-one.jar app.jar
EXPOSE 8761
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
And run "docker build -f Dockerfile -t eurekaserverone ." I get the error: no matching manifest for windows/amd64 in the maifest list entries, I am notgetting this error on a windows 10 manchine. What is causing this error and is there a solution for it?
Why you are providing . at the end of the command
When you already provided -f flag with dockerfile. Try removing the . at the end and run the build command again.