Open seanleblancicdtech opened 2 years ago
This isn't actually an issue about about oracle docker images, but one of our engineers suggests that this article might be helpful. https://medium.com/intuit-engineering/how-to-getting-podman-to-correctly-mount-a-native-folder-on-a-mac-73eb2a4ee317
I'm trying to use podman on a mac with this image. What I'd like to do is have two volumes and be able to place stuff into /opt/oracle/admin, and preserve data in /opt/oracle/oradata as well, so I try to start like this:
docker run -v $HOME/oradata:/opt/oracle/oradata -v $HOME/oraadmin:/opt/oracle/admin -p 1521:1521 oracle/database:19.3.0-ee
(I have a soft link from docker to podman by the way, so it's really using podman)
This runs for some time, then I get this error:
Update: I went through this and confirmed that I can see a volume (or volumes) with a podman docker container:
https://medium.com/@butkovic/favoring-podman-over-docker-desktop-33368e031ba0
More details:
I do this:
podman machine init --cpus=4 --disk-size=80 --memory=8192 -v $HOME:$HOME
Then build the image like this:
export BUILDAH_FORMAT=docker;export BUILDAH_ISOLATION=chroot;./buildContainerImage.sh -i -e -v 19.3.0
Then try to start up:
Any ideas here? If I don't set any volume flag(s), it will start up.