docker-oracle-xe-11g icon indicating copy to clipboard operation
docker-oracle-xe-11g copied to clipboard

Did this get taken off the Docker repos?

Open maludwig opened this issue 5 years ago • 31 comments

Did this get taken off the Docker repos? I'm getting a 404 now, and "docker pull wnameless/oracle-xe-11g" isn't working.

maludwig avatar Feb 13 '19 21:02 maludwig

I am getting the same error. The same error happened on Oct 6, 2017 (see #70).

zawataki avatar Feb 14 '19 01:02 zawataki

@wnameless Do you know how to resolve this error?

zawataki avatar Feb 14 '19 01:02 zawataki

Unfortunately, I received a DMCA Takedown Notice from Docker Hub early today. For now, I don't have the plan to fire a counter-notice. I assume that Oracle want people to use their Oracle 18c express docker version instead of other unofficial docker images.

wnameless avatar Feb 14 '19 02:02 wnameless

I understand. Thank you for sharing the reason.

zawataki avatar Feb 14 '19 04:02 zawataki

That's a pitty. Do you know of alternatives which don't require to buy a license if the image is just used in integration tests?

felixbarny avatar Feb 14 '19 08:02 felixbarny

@felixbarny You can build the official docker image from here: https://github.com/oracle/docker-images/tree/master/OracleDatabase/SingleInstance/ (I was able to build and use the XE and the Standard Edition db's without license). The enterprise requires a license of course.

lvthillo avatar Feb 14 '19 08:02 lvthillo

Thanks for the tip.

Do I see it right that there is currently no out-of-the-box docker image for Oracle XE that I can just pull from docker hub?

felixbarny avatar Feb 14 '19 13:02 felixbarny

You can still (at least as long as this repo exists) just clone down this repo and just build it, so I'm back up and running, with:

git clone [email protected]:wnameless/docker-oracle-xe-11g.git
cd docker-oracle-xe-11g
docker build -t wnameless/oracle-xe-11g .
docker run -it --rm -p 1521:1521 wnameless/oracle-xe-11g
echo "SELECT 'VICTORY' as RESULT FROM DUAL;" | sqlplus -S system/oracle@localhost:1521/xe
>
>RESULT
>-------
>VICTORY
>
>

maludwig avatar Feb 14 '19 17:02 maludwig

Unfortunately, I received a DMCA Takedown Notice from Docker Hub early today. For now, I don't have the plan to fire a counter-notice. I assume that Oracle want people to use their Oracle 18c express docker version instead of other unofficial docker images.

I assure you this is not the case, that we want you to use Oracle 18c XE instead! We want people to use any Oracle XE version whichever is most suitable for users.

I'm trying to find out why the DMCA has been issued. Please bare with me.

Do I see it right that there is currently no out-of-the-box docker image for Oracle XE that I can just pull from docker hub?

That is correct, I'm trying to resolve this and have an official Oracle XE image on Docker Hub, however, this is not a technical but legal/business practices discussion. Please bare with us on that as well.

gvenzl avatar Feb 14 '19 18:02 gvenzl

Good luck @gvenzl! We're all on the edge of our seats here.

deusaquilus avatar Feb 14 '19 19:02 deusaquilus

I fully understand!

gvenzl avatar Feb 14 '19 21:02 gvenzl

is there a way to build these images by downloading directly from oracle. it is evident that oracle don't want to support earlier versions. but some people like me are stuck with it. please point me how to build these images. oracle is only providing virtualbox images or download files.

cedric05 avatar Feb 19 '19 04:02 cedric05

is there a way to build these images by downloading directly from oracle. it is evident that oracle don't want to support earlier versions. but some people like me are stuck with it. please point me how to build these images. oracle is only providing virtualbox images or download files.

If I understand you right, that is exactly what this repo is doing, so you can just use it as before; the difference until they can fix it, is that you can't directly pull it from dockerhub, so you will have to clone it and docker build it yourself as @maludwig explained

javieraviles avatar Feb 19 '19 08:02 javieraviles

Hi, I am trying to build the image from this repo and running into this error. Was anyone able to build the container successfully?

git clone [email protected]:wnameless/docker-oracle-xe-11g.git cd docker-oracle-xe-11g docker build -t wnameless/oracle-xe-11g .

(I used the above commands to build the image. I think I don't have enough permissions on my side)

Processing triggers for libc-bin (2.27-3ubuntu1) ... mv: cannot move '/assets/chkconfig' to a subdirectory of itself, '/sbin/chkconfig' /assets/setup.sh: line 43: sqlplus: command not found /assets/setup.sh: line 44: sqlplus: command not found /assets/setup.sh: line 45: sqlplus: command not found /assets/setup.sh: line 46: sqlplus: command not found rm: cannot remove '/assets/': Invalid argument The command '/bin/sh -c /assets/setup.sh' returned a non-zero code: 1

lmilton-ithaka avatar Feb 20 '19 14:02 lmilton-ithaka

is there a way to build these images by downloading directly from oracle. it is evident that oracle don't want to support earlier versions. but some people like me are stuck with it. please point me how to build these images. oracle is only providing virtualbox images or download files.

If I understand you right, that is exactly what this repo is doing, so you can just use it as before; the difference until they can fix it, is that you can't directly pull it from dockerhub, so you will have to clone it and docker build it yourself as @maludwig explained

i think i didn't express correctly. as this repo is not official, i though of building this in mylocal itself. while building from this repo, i faced some issues. so i had to use unofficial repo. now this has been taken down. building image also tougher one. if this working repo fine. i'm happy with building in my local for development.

cedric05 avatar Feb 20 '19 14:02 cedric05

I was able to build an image locally on my machine. I have saved the image and able to load the same into my docker environment using docker load command.

git clone [email protected]:wnameless/docker-oracle-xe-11g.git
cd docker-oracle-xe-11g
docker build -t wnameless/oracle-xe-11g .
docker run -it --rm -p 1521:1521 wnameless/oracle-xe-11g
echo "SELECT 'VICTORY' as RESULT FROM DUAL;" | sqlplus -S system/oracle@localhost:1521/xe
>
>RESULT
>-------
>VICTORY
>
>
You will need to save the Docker image as a tar file:

docker save -o <path for generated tar file> <image name>
Then copy your image to a new system with regular file transfer tools such as cp or scp. After that you will have to load the image into Docker:

docker load -i <path to image tar file>
PS: You may need to sudo all commands.

EDIT: You should add filename (not just directory) with -o, for example:

docker save -o c:/myfile.tar centos:16

lmilton-ithaka avatar Feb 26 '19 05:02 lmilton-ithaka

You can still (at least as long as this repo exists) just clone down this repo and just build it, so I'm back up and running, with:

git clone [email protected]:wnameless/docker-oracle-xe-11g.git
cd docker-oracle-xe-11g
docker build -t wnameless/oracle-xe-11g .
docker run -it --rm -p 1521:1521 wnameless/oracle-xe-11g
echo "SELECT 'VICTORY' as RESULT FROM DUAL;" | sqlplus -S system/oracle@localhost:1521/xe
>
>RESULT
>-------
>VICTORY
>
>

@maludwig the real MVP

ricardoaat avatar Mar 01 '19 14:03 ricardoaat

@gvenzl any news?

felixbarny avatar Mar 01 '19 14:03 felixbarny

@gvenzl More and more Open Source projects will now choose to just not test against Oracle. It doesn't seem like dwindling support for Oracle databases is in the best interest of Oracle.

felixbarny avatar Mar 06 '19 08:03 felixbarny

As maintainer of https://github.com/SOCI/soci/ I can only second @felixbarny point.

To keep the library tested on CI services against Oracle it has been PITA and required numerous hacks and workaround since ~2015:

  • https://github.com/SOCI/soci/pull/326
  • https://github.com/SOCI/soci/pull/579
  • https://github.com/SOCI/soci/issues/684

Kudos to @cbandy for his downloader magically filling the bloody web form! Why the heck Oracle requires to accept the license when I could be asked to agree on EULA during the installation. Oracle, you should learn from Microsoft!. I don't save on strong words because I can't count volunteered hours I wasted on maintaining Oracle on CI-s.

https://github.com/nanodbc/nanodbc/ is another library I maintain which I'd like to test against Oracle, but I can't convince myself to go through the terrible experience again.

Mind you, ISO C++ WG21 SG11 is working on database interfaces and Oracle is going to be an important testing target for reference implementations people would like to contribute to the C++ community.

I understand the management at Oracle may not give a damn about FOSS, but please re-consider and have mercy! @gvenzl good luck!

mloskot avatar Mar 06 '19 10:03 mloskot

I actually got permission from oracle to release https://github.com/Vincit/travis-oracledb-xe installer, which allows installing oracle g11 on for example travis CI, without too much hassle. Though I liked this docker image a lot more. I hope someone (maybe even me in distant future) have chance to re-release docker versions of the XE stuff with their blessing.

elhigu avatar Mar 15 '19 10:03 elhigu

Any updates @gvenzl why the DMCA has been issued? I hope Oracle didn't fired you for actually caring about customers and having a heart ;(

hoto avatar Mar 22 '19 12:03 hoto

BTW I "forked" the repo and built the docker image on our CI with no problems at all and pushed it to our company private docker registry.

Really good work @wnameless , thanks for making this repo in the fist place.

hoto avatar Mar 22 '19 13:03 hoto

Any updates @gvenzl why the DMCA has been issued? I hope Oracle didn't fired you for actually caring about customers and having a heart ;(

I was joking but now I'm not so sure: https://spectrum.ieee.org/view-from-the-valley/at-work/tech-careers/oracle-swings-the-layoff-axe-and-clearcuts-teams-of-engineers

hoto avatar Mar 26 '19 17:03 hoto

Hi @hoto, no I'm still here and still working on this. :)

I also just provided the latest update over at https://github.com/oracle/docker-images/issues/1156

Unfortunately I couldn't find out yet why we issued the DMCA. On that note, @wnameless it could be really helpful if you could share your communication that you had with Oracle with me so that I can trace it back.

gvenzl avatar Apr 02 '19 15:04 gvenzl

You can still (at least as long as this repo exists) just clone down this repo and just build it, so I'm back up and running, with:

git clone [email protected]:wnameless/docker-oracle-xe-11g.git
cd docker-oracle-xe-11g
docker build -t wnameless/oracle-xe-11g .
docker run -it --rm -p 1521:1521 wnameless/oracle-xe-11g
echo "SELECT 'VICTORY' as RESULT FROM DUAL;" | sqlplus -S system/oracle@localhost:1521/xe
>
>RESULT
>-------
>VICTORY
>
>

I tried your way and kept getting this error

Cloning into 'docker-oracle-xe-11g'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Any workaround ?

abdul-elah-js avatar Apr 24 '19 15:04 abdul-elah-js

@abdul-elah-js setup your github ssh keys or use https cloning.

elhigu avatar Apr 24 '19 15:04 elhigu

For travis users I wrote example project for setting up oracledb 18c xe + node drivers https://github.com/elhigu/travis-node-oracle-18-xe

elhigu avatar May 13 '19 21:05 elhigu

This is back on Docker Hub: https://hub.docker.com/r/wnameless/oracle-xe-11g-r2/

@wnameless does this mean that the licensing issues / DMCA problems have been resolved?

candrews avatar Oct 03 '19 16:10 candrews

For all who are interested, now Oracle provides the official images: https://hub.docker.com/r/gvenzl/oracle-xe

FranckPachot avatar May 03 '21 09:05 FranckPachot