I have imported java:8 images from tarball using below command,
cat softwares/jdk-8.tar.gz | docker import - java:8
and the image is created successfully as below
REPOSITORY TAG IMAGE ID CREATED SIZE
java 8 2e54a3ae451d 20 minutes ago 376MB
then I ran the command,
docker run -it java:8 bash
, it is giving the following error
docker: Error response from daemon: oci runtime error: container_linux.go:262: starting container process caused "exec: \"bash\": executable file not found in $PATH".
Can anyone help me What I am doing wrong?