Image probably absent in the docker beginner tutorial


I am following the instructions from the following webpage:

But the following error message prompted out:

Is there any alternative image for me to proceed the tutorial? thx

Can you provide with your dockerfile, if i read the guide correct, you should have this in your dockerfile:

# Hello world application with custom Java runtime with just the base module and Debian slim
FROM debian:stable-slim
COPY target/openjdk-9-base_linux-x64 /opt/jdk-9
COPY target/helloworld-1.0-SNAPSHOT.jar /opt/helloworld/helloworld-1.0-SNAPSHOT.jar
# Set up env variables
ENV JAVA_HOME=/opt/jdk-9
CMD java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap \
  -cp /opt/helloworld/helloworld-1.0-SNAPSHOT.jar

if you have this, it shoudnt come with that error you have

thx Martin, and sorry that the notification email of your reply fell into the junk email folder, so i reply you this late.

I just copied from the tutorial webpage for the content of Dockerfile:

Hello world application with JDK 9 and Debian slim

FROM jdk-9-debian-slim
COPY target/helloworld-1.0-SNAPSHOT.jar /opt/helloworld/helloworld-1.0-SNAPSHOT.jar

Set up env variables

CMD java -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
-cp /opt/helloworld/helloworld-1.0-SNAPSHOT.jar

The content of your Dockerfile is at the end of that tutorial page? I guess it’s different part of tutorial?