Unable to create oracle Image

Hello Team

I was trying to create oracle image as mentioned at below Git Path

docker-images/README.md at main · oracle/docker-images · GitHub

Getting 403 error https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden

I dont have access to following path . Is there any workaround for this ?

Below is output

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Checking Docker version.
Checking if required packages are present and valid...
LINUX.X64_193000_db_home.zip: OK
==========================
Container runtime info:
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.8.2)
  compose: Docker Compose (Docker Inc., v2.5.0)
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
  scan: Docker Scan (Docker Inc., v0.17.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 8
 Server Version: 20.10.14
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc version: v1.0.3-0-gf46b6ba
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.10.16.3-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 24.83GiB
 Name: docker-desktop
 ID: N4X6:HRH2:UF3Z:GRQK:WMXY:HUY2:AWCS:BOGH:FUHM:EBU5:MG6X:5MJN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5000
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
==========================
Building image 'oracle/database:19.3.0-ee' ...
#1 [internal] load build definition from Dockerfile
#1 sha256:ae0bf8353f102e2f8f9e35df8915f58f3a04c44b8ecd3bf6b9c4027781247104
#1 transferring dockerfile: 32B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:86338296bc76941bdd90d929345ead3ac30c6af3e937e2b34964e86e4e6275c7
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/oraclelinux:7-slim
#3 sha256:87ecd7bcbbc3ba1f1518cb46893e8d1a9cd73f72ecadc1fda045f513522c16a6
#3 DONE 33.3s

#4 [base 1/5] FROM docker.io/library/oraclelinux:7-slim@sha256:ce16f06496bdc911eeba5cd9bc38372da0d8b758638dfb1502ff0aa1704b590e
#4 sha256:8fa62a74be78d790668f66691a9b754511843b389b9016de225159b7027e53f0
#4 CACHED

#6 [internal] load build context
#6 sha256:1f49e2ec4d93bf224a3eead04c5a8d6be8c2a3d984f0fdecb0106335930cb954
#6 transferring context: 504B done
#6 DONE 0.0s

#5 [base 2/5] RUN echo "sslverify=false" >> /etc/yum.conf
#5 sha256:26c4d411b9f1c35e526fc7456a2d139f9727972e7e45a3e901425b5794e23ee3
#5 DONE 0.4s

#7 [base 3/5] COPY setupLinuxEnv.sh checkSpace.sh /opt/install/
#7 sha256:73ac30c8c3eeb06fdbc693e04b366dd67adfb212df26a9cb6be44fac60932f0c
#7 DONE 0.0s

#8 [base 4/5] COPY runOracle.sh startDB.sh createDB.sh createObserver.sh dbca.rsp.tmpl setPassword.sh checkDBStatus.sh runUserScripts.sh relinkOracleBinary.sh /opt/oracle/
#8 sha256:90b395f8fe8e56cbc9143ba6f5bcb010c23767866db222692292b07a086bdca8
#8 DONE 0.1s

#9 [base 5/5] RUN chmod ug+x /opt/install/*.sh &&     sync &&     /opt/install/checkSpace.sh &&     /opt/install/setupLinuxEnv.sh &&     rm -rf /opt/install
#9 sha256:2e350b78369e78ba0aa4fb6677b533e12305158763dabc8b3c055b5bc94850c4
#9 0.605 Loaded plugins: ovl
#9 2.928 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 2.928 Trying other mirror.
#9 4.373 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 4.373 Trying other mirror.
#9 5.587 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 5.587 Trying other mirror.
#9 5.588
#9 5.588
#9 5.588  One of the configured repositories failed (Oracle Linux 7Server Latest (x86_64)),
#9 5.588  and yum doesn't have enough cached data to continue. At this point the only
#9 5.588  safe thing yum can do is fail. There are a few ways to work "fix" this:
#9 5.588
#9 5.588      1. Contact the upstream for the repository and get them to fix the problem.
#9 5.588
#9 5.588      2. Reconfigure the baseurl/etc. for the repository, to point to a working
#9 5.588         upstream. This is most often useful if you are using a newer
#9 5.588         distribution release than is supported by the repository (and the
#9 5.588         packages for the previous distribution release still work).
#9 5.588
#9 5.588      3. Run the command with the repository temporarily disabled
#9 5.588             yum --disablerepo=ol7_latest ...
#9 5.588
#9 5.588      4. Disable the repository permanently, so yum won't use it by default. Yum
#9 5.588         will then just ignore the repository until you permanently enable it
#9 5.588         again or use --enablerepo for temporary usage:
#9 5.588
#9 5.588             yum-config-manager --disable ol7_latest
#9 5.588         or
#9 5.588             subscription-manager repos --disable=ol7_latest
#9 5.588
#9 5.588      5. Configure the failing repository to be skipped, if it is unavailable.
#9 5.588         Note that yum will try to contact the repo. when it runs most commands,
#9 5.588         so will have to try and fail each time (and thus. yum will be be much
#9 5.588         slower). If it is a very temporary problem though, this is often a nice
#9 5.588         compromise:
#9 5.588
#9 5.588             yum-config-manager --save --setopt=ol7_latest.skip_if_unavailable=true
#9 5.588
#9 5.588 failure: repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2 from ol7_latest: [Errno 256] No more mirrors to try.
#9 5.588 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#9 ERROR: executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh &&     sync &&     $INSTALL_DIR/$CHECK_SPACE_FILE &&     $INSTALL_DIR/$SETUP_LINUX_FILE &&     rm -rf $INSTALL_DIR]: exit code: 1
------
 > [base 5/5] RUN chmod ug+x /opt/install/*.sh &&     sync &&     /opt/install/checkSpace.sh &&     /opt/install/setupLinuxEnv.sh &&     rm -rf /opt/install:
------
executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh &&     sync &&     $INSTALL_DIR/$CHECK_SPACE_FILE &&     $INSTALL_DIR/$SETUP_LINUX_FILE &&     rm -rf $INSTALL_DIR]: exit code: 1

ERROR: Oracle Database container image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the build operation.

Can you download that file from a web browser?

Hello @rimelek

Now here is catch when I directly trying to access below mentioned path directly
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2

I get access issue because of company policies .
but If i access till repodata
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata
Then I can see ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2 under this path and can download it .

Also I would like to mention I am running this by setting ssl_verify=false .

As soon as I am removing ssl_verify =false I am getting other error
https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#60 - “Peer’s Certificate issuer is not recognized.”

Please help me in this

You should consult the system administrators of the company why it works if you try to the “repodata” page first. They can check the firewall logs. I had similar issues where I work too.

As for the SSL issue, it may be related to why the firewall blocks the request, I just don’t know the reason.
You can try at least one thing. install “ca-certificates” in the image, but I would be surprised if Oracle hadn’t thought of it.

I also wanted to recommend that you have already done. And this is creating an issue on GitHub:

Hello @rimelek regarding installing ca-certificates . I have never done this before . Is there any link which helps in explaining this. I am trying to find it out but what I am not getting is where do I need to run this in docker file.

also do I need to run these as YUM commands . This is new to me . Never done this before.

Hello All ,

I tried to do one more thing

I executed RUN yum-config-manager --enable *
and now when yum -y install oracle-database-preinstall-19c is running it is giving me following error:

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Checking Docker version.
Checking if required packages are present and valid...
LINUX.X64_193000_db_home.zip: OK
==========================
Container runtime info:
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc., v0.8.2)
  compose: Docker Compose (Docker Inc., v2.5.0)
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
  scan: Docker Scan (Docker Inc., v0.17.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 8
 Server Version: 20.10.14
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc version: v1.0.3-0-gf46b6ba
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.10.16.3-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 24.83GiB
 Name: docker-desktop
 ID: N4X6:HRH2:UF3Z:GRQK:WMXY:HUY2:AWCS:BOGH:FUHM:EBU5:MG6X:5MJN
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5000
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
==========================
Building image 'oracle/database:19.3.0-ee' ...
#1 [internal] load build definition from Dockerfile
#1 sha256:9828ddb02b61ae8bc2eece30a78fed303fb616dec2f7a670426f1efcf37ab18e
#1 transferring dockerfile: 32B 0.0s done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:e714896ad16ed9a4056dd5e8dad4de8023b26dae2c3d33973653a76b104baa37
#2 transferring context: 2B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/oraclelinux:7-slim
#3 sha256:87ecd7bcbbc3ba1f1518cb46893e8d1a9cd73f72ecadc1fda045f513522c16a6
#3 ...

#4 [auth] library/oraclelinux:pull token for registry-1.docker.io
#4 sha256:e38a5ee05e7349169d1c1852a685c16e9631ed8e605d217b225399563c577370
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/oraclelinux:7-slim
#3 sha256:87ecd7bcbbc3ba1f1518cb46893e8d1a9cd73f72ecadc1fda045f513522c16a6
#3 DONE 36.2s

#5 [base  1/10] FROM docker.io/library/oraclelinux:7-slim@sha256:ce16f06496bdc911eeba5cd9bc38372da0d8b758638dfb1502ff0aa1704b590e
#5 sha256:8fa62a74be78d790668f66691a9b754511843b389b9016de225159b7027e53f0
#5 CACHED

#9 [internal] load build context
#9 sha256:10a8e9f8f6da3c2c8e1fc7577e9dca08f4c32026eea598a276f41a0a95dd0fdc
#9 transferring context: 504B done
#9 DONE 0.0s

#6 [base  2/10] RUN echo "sslverify=false" >> /etc/yum.conf
#6 sha256:26c4d411b9f1c35e526fc7456a2d139f9727972e7e45a3e901425b5794e23ee3
#6 DONE 0.3s

#7 [base  3/10] RUN yum-config-manager --enable  *


#11 [base  6/10] COPY runOracle.sh startDB.sh createDB.sh createObserver.sh dbca.rsp.tmpl setPassword.sh checkDBStatus.sh runUserScripts.sh relinkOracleBinary.sh /opt/oracle/
#11 sha256:092f2eb9a5336b52da357a637762650c415651ee56482590d9017a9efbbdec0b
#11 DONE 0.1s

#12 [base  7/10] RUN echo "STEP 2 PURNIMA"
#12 sha256:d416854543acfa419e3b47d2288dc9391ddcfb5515b5fe1249a3b3abbfa8a318
#12 0.476 STEP 2 PURNIMA
#12 DONE 0.5s

#13 [base  8/10] RUN ls -lsa /opt/install
#13 sha256:709c6d677b9cbf705c38f83d62f30db3e680515c4b4646a6f8674a0c7f7ed4a7
#13 0.464 total 16
#13 0.464 4 drwxr-xr-x 2 root root 4096 May 31 15:04 .
#13 0.464 4 drwxr-xr-x 1 root root 4096 May 31 15:04 ..
#13 0.464 4 -rwxr-xr-x 1 root root  904 May 24 20:17 checkSpace.sh
#13 0.464 4 -rwxr-xr-x 1 root root 1128 May 30 20:03 setupLinuxEnv.sh
#13 DONE 0.5s

#14 [base  9/10] RUN chmod ug+x /opt/install/*.sh &&     sync &&     /opt/install/checkSpace.sh &&     /opt/install/setupLinuxEnv.sh &&     rm -rf /opt/install
#14 sha256:c57e93525da2377b9fbcfc70972d5101bf15154e63df6d858c660811f28b8272
#14 0.525 starting YUM command
#14 0.624 Loaded plugins: ovl
#14 18.80 https://yum.oracle.com/repo/OracleLinux/OL7/MODRHCK/x86_64/repodata/21eb6429dc363086cd9db7665df5f5674037ce53-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 18.80 Trying other mirror.
#14 20.11 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/repodata/ecaebd64573e9a832bab029cf3a6013c2c2add18-primary.sqlite.bz2: [Errno 14] curl#18 - "transfer closed with 37936656 bytes remaining to read"
#14 20.11 Trying other mirror.
#14 29.39 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/x86_64/repodata/6a6b6879034c6f3c63911be211ba6e207495514d-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 29.39 Trying other mirror.
#14 31.54 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] curl#18 - "transfer closed with 39456096 bytes remaining to read"
#14 31.54 Trying other mirror.
#14 49.79 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR3/x86_64/repodata/86dba08fb2545da1a0ac8f2a3fbc301e61467710-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 49.79 Trying other mirror.
#14 51.55 https://yum.oracle.com/repo/OracleLinux/OL7/latest/archive/x86_64/repodata/0815844124179285d6d7af62b26ede43cfc34ba8-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 51.55 Trying other mirror.
#14 62.82 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/archive/x86_64/repodata/40e9de26e536f6d58f1c897679be3abe8d4bef57-primary.sqlite.bz2: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/archive/x86_64/repodata/40e9de26e536f6d58f1c897679be3abe8d4bef57-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
#14 62.82 Trying other mirror.
#14 73.35 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/archive/x86_64/repodata/40e9de26e536f6d58f1c897679be3abe8d4bef57-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 73.35 Trying other mirror.
#14 132.4 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/repodata/ecaebd64573e9a832bab029cf3a6013c2c2add18-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 132.4 Trying other mirror.
#14 134.0 https://yum.oracle.com/repo/OracleLinux/OL7/MODRHCK/x86_64/repodata/21eb6429dc363086cd9db7665df5f5674037ce53-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 134.0 Trying other mirror.
#14 144.6 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/x86_64/repodata/6a6b6879034c6f3c63911be211ba6e207495514d-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 144.6 Trying other mirror.
#14 148.1 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR3/x86_64/repodata/86dba08fb2545da1a0ac8f2a3fbc301e61467710-primary.sqlite.bz2: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/UEKR3/x86_64/repodata/86dba08fb2545da1a0ac8f2a3fbc301e61467710-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
#14 148.1 Trying other mirror.
#14 148.1 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/archive/x86_64/repodata/40e9de26e536f6d58f1c897679be3abe8d4bef57-primary.sqlite.bz2: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/archive/x86_64/repodata/40e9de26e536f6d58f1c897679be3abe8d4bef57-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
#14 148.1 Trying other mirror.
#14 149.9 https://yum.oracle.com/repo/OracleLinux/OL7/UEKR3/x86_64/repodata/86dba08fb2545da1a0ac8f2a3fbc301e61467710-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 149.9 Trying other mirror.
#14 158.1 https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/ab949214e7975e1774d0b9b84e915f974bf0a135-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 158.1 Trying other mirror.
#14 164.2 https://yum.oracle.com/repo/OracleLinux/OL7/latest/archive/x86_64/repodata/0815844124179285d6d7af62b26ede43cfc34ba8-primary.sqlite.bz2: [Errno 12] Timeout on https://yum.oracle.com/repo/OracleLinux/OL7/latest/archive/x86_64/repodata/0815844124179285d6d7af62b26ede43cfc34ba8-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
#14 164.2 Trying other mirror.
#14 204.5 https://yum.oracle.com/repo/OracleLinux/OL7/MODRHCK/x86_64/repodata/21eb6429dc363086cd9db7665df5f5674037ce53-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 204.5 Trying other mirror.
#14 204.6
#14 204.6
#14 204.6  One of the configured repositories failed (Latest RHCK with fixes from Oracle for Oracle Linux 7Server (x86_64)),
#14 204.6  and yum doesn't have enough cached data to continue. At this point the only
#14 204.6  safe thing yum can do is fail. There are a few ways to work "fix" this:
#14 204.6
#14 204.6      1. Contact the upstream for the repository and get them to fix the problem.
#14 204.6
#14 204.6      2. Reconfigure the baseurl/etc. for the repository, to point to a working
#14 204.6         upstream. This is most often useful if you are using a newer
#14 204.6         distribution release than is supported by the repository (and the
#14 204.6         packages for the previous distribution release still work).
#14 204.6
#14 204.6      3. Run the command with the repository temporarily disabled
#14 204.6             yum --disablerepo=ol7_MODRHCK ...
#14 204.6
#14 204.6      4. Disable the repository permanently, so yum won't use it by default. Yum
#14 204.6         will then just ignore the repository until you permanently enable it
#14 204.6         again or use --enablerepo for temporary usage:
#14 204.6
#14 204.6             yum-config-manager --disable ol7_MODRHCK
#14 204.6         or
#14 204.6             subscription-manager repos --disable=ol7_MODRHCK
#14 204.6
#14 204.6      5. Configure the failing repository to be skipped, if it is unavailable.
#14 204.6         Note that yum will try to contact the repo. when it runs most commands,
#14 204.6         so will have to try and fail each time (and thus. yum will be be much
#14 204.6         slower). If it is a very temporary problem though, this is often a nice
#14 204.6         compromise:
#14 204.6
#14 204.6             yum-config-manager --save --setopt=ol7_MODRHCK.skip_if_unavailable=true
#14 204.6
#14 204.6 failure: repodata/21eb6429dc363086cd9db7665df5f5674037ce53-primary.sqlite.bz2 from ol7_MODRHCK: [Errno 256] No more mirrors to try.
#14 204.6 https://yum.oracle.com/repo/OracleLinux/OL7/MODRHCK/x86_64/repodata/21eb6429dc363086cd9db7665df5f5674037ce53-primary.sqlite.bz2: [Errno 14] HTTPS Error 403 - Forbidden
#14 204.6  YUM command completed
#14 204.7 ln: target '/home/oracle/' is not a directory: No such file or directory
#14 ERROR: executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh &&     sync &&     $INSTALL_DIR/$CHECK_SPACE_FILE &&     $INSTALL_DIR/$SETUP_LINUX_FILE &&     rm -rf $INSTALL_DIR]: exit code: 1
------
 > [base  9/10] RUN chmod ug+x /opt/install/*.sh &&     sync &&     /opt/install/checkSpace.sh &&     /opt/install/setupLinuxEnv.sh &&     rm -rf /opt/install:
------
executor failed running [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh &&     sync &&     $INSTALL_DIR/$CHECK_SPACE_FILE &&     $INSTALL_DIR/$SETUP_LINUX_FILE &&     rm -rf $INSTALL_DIR]: exit code: 1

ERROR: Oracle Database container image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the build operation.

Have you followed @rimelek’s advise and asked your system admistrators? Your problems are caused of some security or complience mechanisms your company applies - they should be able to tell you what the problem is, while we can guess at best.

Hello @meyay Yes I have raised request with my Team . But as of now I have not received any update from them.

I am afraid you will need to be patient. Or find a collegue who already had the problem and solved it.

Hello @meyay and @rimelek My issue is resolved now. It was because of firewalls . As soon as we disabled it my database got created .