Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Did this get taken off the Docker repos? #118

Open
maludwig opened this Issue Feb 13, 2019 · 27 comments

Comments

Projects
None yet
@maludwig
Copy link

commented Feb 13, 2019

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

@zawataki

This comment has been minimized.

Copy link

commented Feb 14, 2019

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

@zawataki

This comment has been minimized.

Copy link

commented Feb 14, 2019

@wnameless Do you know how to resolve this error?

@wnameless

This comment has been minimized.

Copy link
Owner

commented Feb 14, 2019

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.

@zawataki

This comment has been minimized.

Copy link

commented Feb 14, 2019

I understand. Thank you for sharing the reason.

@felixbarny

This comment has been minimized.

Copy link

commented Feb 14, 2019

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?

@lvthillo

This comment has been minimized.

Copy link

commented Feb 14, 2019

@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.

@felixbarny

This comment has been minimized.

Copy link

commented Feb 14, 2019

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?

@maludwig

This comment has been minimized.

Copy link
Author

commented Feb 14, 2019

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 git@github.com: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
>
>
@gvenzl

This comment has been minimized.

Copy link

commented Feb 14, 2019

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.

@deusaquilus

This comment has been minimized.

Copy link

commented Feb 14, 2019

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

@deusaquilus deusaquilus referenced this issue Feb 14, 2019

Merged

oracle support #1295

0 of 5 tasks complete
@gvenzl

This comment has been minimized.

Copy link

commented Feb 14, 2019

I fully understand!

@cedric05

This comment has been minimized.

Copy link

commented Feb 19, 2019

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.

@javieraviles

This comment has been minimized.

Copy link

commented Feb 19, 2019

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

@lmilton-ithaka

This comment has been minimized.

Copy link

commented Feb 20, 2019

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 git@github.com: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

@cedric05

This comment has been minimized.

Copy link

commented Feb 20, 2019

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.

@lmilton-ithaka

This comment has been minimized.

Copy link

commented Feb 26, 2019

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 git@github.com: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
@ricardoaat

This comment has been minimized.

Copy link

commented Mar 1, 2019

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 git@github.com: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

@felixbarny

This comment has been minimized.

Copy link

commented Mar 1, 2019

@gvenzl any news?

@felixbarny

This comment has been minimized.

Copy link

commented Mar 6, 2019

@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.

@mloskot

This comment has been minimized.

Copy link

commented Mar 6, 2019

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:

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!

@elhigu

This comment has been minimized.

Copy link

commented Mar 15, 2019

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.

@hoto

This comment has been minimized.

Copy link

commented Mar 22, 2019

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

This comment has been minimized.

Copy link

commented Mar 22, 2019

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

This comment has been minimized.

Copy link

commented Mar 26, 2019

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

@gvenzl

This comment has been minimized.

Copy link

commented Apr 2, 2019

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

I also just provided the latest update over at oracle/docker-images#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.

mloskot added a commit to mloskot/soci that referenced this issue Apr 13, 2019

[travis] Switch to Vincit/travis-oracledb-xe installer
Source: https://github.com/Vincit/travis-oracledb-xe

Author of the instaler, @elhigu, received permission from Oracle
to release this installer for use with Travis CI and others:
wnameless/docker-oracle-xe-11g#118 (comment)

mloskot added a commit to mloskot/soci that referenced this issue Apr 13, 2019

[travis] Switch to Vincit/travis-oracledb-xe installer
Source: https://github.com/Vincit/travis-oracledb-xe
Author of the instaler, @elhigu, received permission from Oracle
to release this installer for use with Travis CI and others:
wnameless/docker-oracle-xe-11g#118 (comment)

Switch from apt-fast to apt-get.
Due to issues with certificate and/or keyserver,
installation of apt-fast has often been failing.

mloskot added a commit to SOCI/soci that referenced this issue Apr 13, 2019

[travis] Switch to Vincit/travis-oracledb-xe installer (#727)
Source: https://github.com/Vincit/travis-oracledb-xe
Author of the instaler, @elhigu, received permission from Oracle
to release this installer for use with Travis CI and others:
wnameless/docker-oracle-xe-11g#118 (comment)

Switch from apt-fast to apt-get.
Due to issues with certificate and/or keyserver,
installation of apt-fast has often been failing.
@abdul-elah-js

This comment has been minimized.

Copy link

commented Apr 24, 2019

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 git@github.com: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'...
git@github.com: 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 ?

@elhigu

This comment has been minimized.

Copy link

commented Apr 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.