Skip to content

Problem during install java image into docker #27

Open

Description

@ameydesai-tudip

I am having below issue during installation of java image in docker ? I want solution to resolve the same?

Sending build context to Docker daemon 99.33 kB
Step 1 : FROM dockerfile/java:oracle-java8
Pulling repository docker.io/dockerfile/java
Error: image dockerfile/java not found

Activity

  1. changed the title [-]Problem during installing java image into docker[/-] [+]Problem during install java image into docker[/+] on Feb 15, 2016
  2. raskolnikov7 commented on Feb 22, 2016

    @raskolnikov7

    I m facing same issue.

  3. raskolnikov7 commented on Feb 22, 2016

    @raskolnikov7

    91m/bin/sh: 1: �[0m�[91madd-apt-repository: not found�[0m�[91m
    �[0mRemoving intermediate container b41d7e7b1c47
    The command '/bin/sh -c echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && add-apt-repository -y ppa:webupd8team/java && apt-get update && apt-get install -y oracle-java8-installer && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/oracle-jdk8-installer' returned a non-zero code: 127

  4. demaniak commented on Mar 16, 2016

    @demaniak

    Yes, it seems the dockerfile/java image is not available on docker hub - it is 404'ing

  5. dhesson commented on Apr 19, 2016

    @dhesson

    Now what?!

  6. dhesson commented on Apr 19, 2016

    @dhesson

    I uploaded this image as a base for my java builds. Seems to work.

    https://hub.docker.com/r/cogniteev/oracle-java/~/dockerfile/

  7. demaniak commented on Apr 27, 2016

    @demaniak

    @dhesson long story short, Oracle does not want the images there, so chances are your image will be taken down in the near future. Seems they do not want Oracle java to be distributed through any channels other than their own. Also I believe there is some feelings about that license acceptance that has to happen before java is installed.

    The official java image repo (https://hub.docker.com/_/java/) also some explanation on this.

    A work-a-round is to start up your own private registry, and host your base image in that for your builds. I have no idea where that leaves you with regards to Oracle (legally speaking).

  8. loretoparisi commented on Nov 23, 2016

    @loretoparisi

    @demaniak this has been now deprecated, so which is the solution?

  9. demaniak commented on Nov 24, 2016

    @demaniak

    @loretoparisi you mean this?

    I would suggest it is possible to role your own image, maybe using this as a guide.

    I would also suggest you then host that image in your own private repository.

    Hope that helps, good luck!

  10. loretoparisi commented on Nov 24, 2016

    @loretoparisi

    @demaniak thanks the issue was the old docker files of java, it's as simple as docker pull java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions