前提・実現したいこと
OracleDatabaseをDockerにて構築したいです。
(oracleのバージョンには特に拘っておらず、ただデータベースを試行的に動かす程度の用途です)
以下のリンクをもとに構築を進めていたのですが、
「./buildContainerImage.sh -v 19.3.0 -s -i」
のコマンドを実行したところでエラーが発生しています。
解決方法について思いあたれば回答欄に記載いただけると大変助かります。
DockerでMacにOracle 19cをインストールして開発環境を構築する
発生している問題・エラーメッセージ
長文ですが、コマンド実行時の出力内容全文です。
Checking Docker version. Ignored MD5 sum, 'md5sum' command not available. ========================== Container runtime info: Client: Context: default Debug Mode: false Plugins: app: Docker App (Docker Inc., v0.9.1-beta3) buildx: Build with BuildKit (Docker Inc., v0.5.1-docker) scan: Docker Scan (Docker Inc., v0.6.0) Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 20.10.5 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true 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: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e runc version: 12644e614e25b05da6fd08a38ffa0cfe1903fdec init version: de40ad0 Security Options: seccomp Profile: default Kernel Version: 5.10.25-linuxkit Operating System: Docker Desktop OSType: linux Architecture: aarch64 CPUs: 4 Total Memory: 1.942GiB Name: docker-desktop ID: XUM5:U5TR:KZWF:IOMW:SWTX:WEYK:DHMI:K55Y:DGFQ:6GX2:W5A2:OIUY Docker Root Dir: /var/lib/docker Debug Mode: false HTTP Proxy: http.docker.internal:3128 HTTPS Proxy: http.docker.internal:3128 Registry: https://index.docker.io/v1/ Labels: Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false ========================== Building image 'oracle/database:19.3.0-' ... [+] Building 18.1s (8/13) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/oraclelinux:7-slim 3.0s => CACHED [base 1/4] FROM docker.io/library/oraclelinux:7-slim@sha256:f4 0.0s => [internal] load build context 0.0s => => transferring context: 901B 0.0s => [base 2/4] COPY setupLinuxEnv.sh checkSpace.sh /opt/install/ 0.0s => [base 3/4] COPY runOracle.sh startDB.sh createDB.sh dbca.rsp.tmpl set 0.0s => ERROR [base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && 15.0s ------ > [base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install: #8 0.384 Loaded plugins: ovl #8 13.05 No package oracle-database-preinstall-19c available. #8 13.18 Resolving Dependencies #8 13.18 --> Running transaction check #8 13.18 ---> Package openssl.aarch64 1:1.0.2k-21.0.1.el7_9 will be installed #8 13.19 --> Processing Dependency: openssl-libs(aarch-64) = 1:1.0.2k-21.0.1.el7_9 for package: 1:openssl-1.0.2k-21.0.1.el7_9.aarch64 #8 13.26 --> Processing Dependency: make for package: 1:openssl-1.0.2k-21.0.1.el7_9.aarch64 #8 13.27 --> Running transaction check #8 13.27 ---> Package make.aarch64 1:3.82-24.el7 will be installed #8 13.27 ---> Package openssl-libs.aarch64 1:1.0.2k-21.el7_9 will be updated #8 13.27 ---> Package openssl-libs.aarch64 1:1.0.2k-21.0.1.el7_9 will be an update #8 13.30 --> Finished Dependency Resolution #8 13.31 #8 13.31 Dependencies Resolved #8 13.31 #8 13.31 ================================================================================ #8 13.31 Package Arch Version Repository Size #8 13.31 ================================================================================ #8 13.31 Installing: #8 13.31 openssl aarch64 1:1.0.2k-21.0.1.el7_9 ol7_latest 486 k #8 13.31 Installing for dependencies: #8 13.31 make aarch64 1:3.82-24.el7 ol7_latest 415 k #8 13.31 Updating for dependencies: #8 13.31 openssl-libs aarch64 1:1.0.2k-21.0.1.el7_9 ol7_latest 957 k #8 13.31 #8 13.31 Transaction Summary #8 13.31 ================================================================================ #8 13.31 Install 1 Package (+1 Dependent package) #8 13.31 Upgrade ( 1 Dependent package) #8 13.31 #8 13.31 Total download size: 1.8 M #8 13.31 Downloading packages: #8 13.31 Delta RPMs disabled because /usr/bin/applydeltarpm not installed. #8 13.82 -------------------------------------------------------------------------------- #8 13.82 Total 3.5 MB/s | 1.8 MB 00:00 #8 13.83 Running transaction check #8 13.85 Running transaction test #8 13.86 Transaction test succeeded #8 13.86 Running transaction #8 13.97 Installing : 1:make-3.82-24.el7.aarch64 1/4 #8 14.34 Updating : 1:openssl-libs-1.0.2k-21.0.1.el7_9.aarch64 2/4 #8 14.65 Installing : 1:openssl-1.0.2k-21.0.1.el7_9.aarch64 3/4 #8 14.65 Cleanup : 1:openssl-libs-1.0.2k-21.el7_9.aarch64 4/4 #8 14.91 Verifying : 1:openssl-1.0.2k-21.0.1.el7_9.aarch64 1/4 #8 14.91 Verifying : 1:openssl-libs-1.0.2k-21.0.1.el7_9.aarch64 2/4 #8 14.92 Verifying : 1:make-3.82-24.el7.aarch64 3/4 #8 14.92 Verifying : 1:openssl-libs-1.0.2k-21.el7_9.aarch64 4/4 #8 14.93 #8 14.93 Installed: #8 14.93 openssl.aarch64 1:1.0.2k-21.0.1.el7_9 #8 14.93 #8 14.93 Dependency Installed: #8 14.93 make.aarch64 1:3.82-24.el7 #8 14.93 #8 14.93 Dependency Updated: #8 14.93 openssl-libs.aarch64 1:1.0.2k-21.0.1.el7_9 #8 14.93 #8 14.93 Complete! #8 14.99 ln: target '/home/oracle/' is not a directory: No such file or directory ------ 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.
試したこと
・コマンド実行時のオプションを変更
・PC再起動
・homeフォルダ配下にoracleフォルダが存在しなかったため、mkdirを実行しましたが、
これもエラーとなってしまって結局フォルダ作成しての再実行ができていないです。
補足情報(FW/ツールのバージョンなど)
MacBook Air (M1, 2020) :11.2.3(20D91)
git:2.31.1
docker:20.10.5
回答1件
あなたの回答
tips
プレビュー