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

poman-desktop valumes binding problem #2783

Open
watchingfun opened this issue Apr 12, 2024 · 0 comments
Open

poman-desktop valumes binding problem #2783

watchingfun opened this issue Apr 12, 2024 · 0 comments

Comments

@watchingfun
Copy link

watchingfun commented Apr 12, 2024

System info:

window 11 23h2
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
RAM 32.0 GB

desc

I use podman-desktop to pull the image and start the container. When I do not set the volume binding, the container can start normally, otherwise it will fail to start.

log

[FATAL] [DBT-50000] Unable to check available system memory.
log.zip

no set valume:

image

set valume:

image

inspect

{
  "Id": "df66c2486ac6bc84d0a1efc5dca08c9f989ce45fb6ab02941998d4a3450ec5e3",
  "Created": "2024-04-12T10:37:44.01796505Z",
  "Path": "/bin/bash",
  "Args": [
    "-c",
    "$ORACLE_BASE/$RUN_FILE"
  ],
  "State": {
    "Status": "exited",
    "Running": false,
    "Paused": false,
    "Restarting": false,
    "OOMKilled": false,
    "Dead": false,
    "Pid": 0,
    "ExitCode": 1,
    "Error": "",
    "StartedAt": "2024-04-12T10:37:44.184931039Z",
    "FinishedAt": "2024-04-12T10:37:51.676667622Z",
    "Health": {
      "Status": "starting",
      "FailingStreak": 0,
      "Log": [
        {
          "Start": "2024-04-12T18:37:44.219313337+08:00",
          "End": "2024-04-12T18:37:44.344283429+08:00",
          "ExitCode": 1,
          "Output": "/opt/oracle/checkDBStatus.sh: line 26: sqlplus: command not found"
        }
      ]
    }
  },
  "Image": "sha256:39cabc8e6db02477e36c3392a23b984c589eb529e4a0dcb3f6c93a2ff6a227ff",
  "ResolvConfPath": "/run/containers/storage/overlay-containers/df66c2486ac6bc84d0a1efc5dca08c9f989ce45fb6ab02941998d4a3450ec5e3/userdata/resolv.conf",
  "HostnamePath": "/run/containers/storage/overlay-containers/df66c2486ac6bc84d0a1efc5dca08c9f989ce45fb6ab02941998d4a3450ec5e3/userdata/hostname",
  "HostsPath": "/run/containers/storage/overlay-containers/df66c2486ac6bc84d0a1efc5dca08c9f989ce45fb6ab02941998d4a3450ec5e3/userdata/hosts",
  "LogPath": "",
  "Name": "/nifty_swanson",
  "RestartCount": 0,
  "Driver": "overlay",
  "Platform": "linux",
  "MountLabel": "",
  "ProcessLabel": "",
  "AppArmorProfile": "",
  "ExecIDs": [],
  "HostConfig": {
    "Binds": [
      "/mnt/d/podman/volumes/oracle/cfgtoollogs:/opt/oracle/cfgtoollogs:rw,rprivate,rbind",
      "/mnt/d/podman/volumes/oracle/data:/opt/oracle/oradata:rw,rprivate,rbind"
    ],
    "ContainerIDFile": "",
    "LogConfig": {
      "Type": "journald",
      "Config": null
    },
    "NetworkMode": "bridge",
    "PortBindings": {
      "1521/tcp": [
        {
          "HostIp": "",
          "HostPort": "1521"
        }
      ]
    },
    "RestartPolicy": {
      "Name": "",
      "MaximumRetryCount": 0
    },
    "AutoRemove": false,
    "VolumeDriver": "",
    "VolumesFrom": null,
    "ConsoleSize": [
      0,
      0
    ],
    "CapAdd": [],
    "CapDrop": [],
    "CgroupnsMode": "",
    "Dns": [],
    "DnsOptions": [],
    "DnsSearch": [],
    "ExtraHosts": [],
    "GroupAdd": [],
    "IpcMode": "shareable",
    "Cgroup": "",
    "Links": null,
    "OomScoreAdj": 0,
    "PidMode": "private",
    "Privileged": false,
    "PublishAllPorts": false,
    "ReadonlyRootfs": false,
    "SecurityOpt": [],
    "UTSMode": "private",
    "UsernsMode": "",
    "ShmSize": 65536000,
    "Runtime": "oci",
    "Isolation": "",
    "CpuShares": 0,
    "Memory": 0,
    "NanoCpus": 0,
    "CgroupParent": "",
    "BlkioWeight": 0,
    "BlkioWeightDevice": null,
    "BlkioDeviceReadBps": null,
    "BlkioDeviceWriteBps": null,
    "BlkioDeviceReadIOps": null,
    "BlkioDeviceWriteIOps": null,
    "CpuPeriod": 0,
    "CpuQuota": 0,
    "CpuRealtimePeriod": 0,
    "CpuRealtimeRuntime": 0,
    "CpusetCpus": "",
    "CpusetMems": "",
    "Devices": [],
    "DeviceCgroupRules": null,
    "DeviceRequests": null,
    "MemoryReservation": 0,
    "MemorySwap": 0,
    "MemorySwappiness": 0,
    "OomKillDisable": false,
    "PidsLimit": 2048,
    "Ulimits": [
      {
        "Name": "RLIMIT_NPROC",
        "Hard": 32768,
        "Soft": 32768
      }
    ],
    "CpuCount": 0,
    "CpuPercent": 0,
    "IOMaximumIOps": 0,
    "IOMaximumBandwidth": 0,
    "MaskedPaths": null,
    "ReadonlyPaths": null
  },
  "GraphDriver": {
    "Data": {
      "LowerDir": "/var/lib/containers/storage/overlay/2bdd54ed03c9d06c0cfd219bef00a2efa8d3f3adcfdee52b600623470368777e/diff:/var/lib/containers/storage/overlay/06615472e114a764a73ebb0a01c267872971f5a1b1bfef95d8323b6c7a862bc9/diff:/var/lib/containers/storage/overlay/66af799b96e6b8e22365c4479b9c62ace5988e2a47bd91da4ded7f0125544bdf/diff:/var/lib/containers/storage/overlay/5e033d5541e799501490fd04925177c370c45b1975f22fd09fa6cb15c4a18520/diff:/var/lib/containers/storage/overlay/4b6a6a1249f1fa59e0035606eb026fdb172c0a998e3e0c88aab88f85531c77c9/diff:/var/lib/containers/storage/overlay/3b21569e7a7bd31218140d2131320eccdd764c1d217e3b2b4c92e4679b2cca4f/diff:/var/lib/containers/storage/overlay/2c92eb82a4363e984f16b34f8b1f0a57affd255f5139853171262019fe27a380/diff:/var/lib/containers/storage/overlay/60b9cea17a39bb60ab2e80b4c9d0f301f681d7bf5d5367f852b021fcc23f09b8/diff:/var/lib/containers/storage/overlay/f70ee2aeb86525b15d3d4045460d0142afb0b036d92a848b8054d3be39421839/diff",
      "UpperDir": "/var/lib/containers/storage/overlay/0c3da940185ff5b96911bc6745feb9b788d01557ac75ab00c161b8803ed13705/diff",
      "WorkDir": "/var/lib/containers/storage/overlay/0c3da940185ff5b96911bc6745feb9b788d01557ac75ab00c161b8803ed13705/work"
    },
    "Name": "overlay"
  },
  "SizeRootFs": 0,
  "Mounts": [
    {
      "Type": "bind",
      "Source": "/mnt/d/podman/volumes/oracle/cfgtoollogs",
      "Destination": "/opt/oracle/cfgtoollogs",
      "Mode": "",
      "RW": true,
      "Propagation": "rprivate"
    },
    {
      "Type": "bind",
      "Source": "/mnt/d/podman/volumes/oracle/data",
      "Destination": "/opt/oracle/oradata",
      "Mode": "",
      "RW": true,
      "Propagation": "rprivate"
    }
  ],
  "Config": {
    "Hostname": "df66c2486ac6",
    "Domainname": "",
    "User": "oracle",
    "AttachStdin": false,
    "AttachStdout": false,
    "AttachStderr": false,
    "ExposedPorts": {
      "1521/tcp": {}
    },
    "Tty": true,
    "OpenStdin": true,
    "StdinOnce": false,
    "Env": [
      "container=podman",
      "ORACLE_HOME=/opt/oracle/product/23c/dbhomeFree",
      "INSTALL_DIR=/install",
      "USER_SCRIPTS_FILE=runUserScripts.sh",
      "ORACLE_PWD=123456",
      "AUTO_MEM_CALCULATION=false",
      "TERM=xterm",
      "ORACLE_DOCKER_INSTALL=true",
      "CONF_FILE=oracle-free-23c.conf",
      "SETUP_LINUX_FILE=setupLinuxEnv.sh",
      "PATH=/opt/oracle/product/23c/dbhomeFree/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "RUN_FILE=runOracle.sh",
      "CONFIG_TCPS_FILE=configTcps.sh",
      "CHECKPOINT_FILE_EXTN=.created",
      "ENABLE_ARCHIVELOG=false",
      "PWD_FILE=setPassword.sh",
      "ORACLE_PDB=",
      "ORACLE_BASE=/opt/oracle",
      "CHECK_SPACE_FILE=checkSpace.sh",
      "INSTALL_FILE_1=oracle-database-free-23c-1.0-1.el8.x86_64.rpm",
      "CHECK_DB_FILE=checkDBStatus.sh",
      "CREATE_DB_FILE=createDB.sh",
      "ORACLE_SID=FREE",
      "HOME=/home/oracle",
      "HOSTNAME=df66c2486ac6"
    ],
    "Cmd": [
      "/bin/bash",
      "-c",
      "$ORACLE_BASE/$RUN_FILE"
    ],
    "Healthcheck": {
      "Test": [
        "CMD-SHELL",
        "\"$ORACLE_BASE/$CHECK_DB_FILE\" >/dev/null || exit 1"
      ],
      "Interval": 60000000000,
      "Timeout": 30000000000,
      "StartPeriod": 300000000000
    },
    "Image": "container-registry.oracle.com/database/free:latest",
    "Volumes": null,
    "WorkingDir": "/home/oracle",
    "Entrypoint": [],
    "OnBuild": null,
    "Labels": {
      "io.buildah.version": "1.29.0",
      "issues": "https://github.com/oracle/docker-images/issues",
      "port.listener": "1521",
      "provider": "Oracle",
      "volume.data": "/opt/oracle/oradata",
      "volume.setup.location1": "/opt/oracle/scripts/setup",
      "volume.setup.location2": "/docker-entrypoint-initdb.d/setup",
      "volume.startup.location1": "/opt/oracle/scripts/startup",
      "volume.startup.location2": "/docker-entrypoint-initdb.d/startup"
    },
    "StopSignal": "15",
    "StopTimeout": 10
  },
  "NetworkSettings": {
    "Bridge": "",
    "SandboxID": "",
    "HairpinMode": false,
    "LinkLocalIPv6Address": "",
    "LinkLocalIPv6PrefixLen": 0,
    "Ports": {
      "1521/tcp": [
        {
          "HostIp": "",
          "HostPort": "1521"
        }
      ]
    },
    "SandboxKey": "",
    "SecondaryIPAddresses": null,
    "SecondaryIPv6Addresses": null,
    "EndpointID": "",
    "Gateway": "",
    "GlobalIPv6Address": "",
    "GlobalIPv6PrefixLen": 0,
    "IPAddress": "",
    "IPPrefixLen": 0,
    "IPv6Gateway": "",
    "MacAddress": "",
    "Networks": {
      "podman": {
        "IPAMConfig": null,
        "Links": null,
        "Aliases": [
          "df66c2486ac6"
        ],
        "NetworkID": "podman",
        "EndpointID": "",
        "Gateway": "",
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "MacAddress": "",
        "DriverOpts": null
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant