In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "docker's method of building an oracle development environment". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "docker's method of building an oracle development environment".
Oracle is too big, and it's expensive for developers to install a native oracle.
In the docker environment, I looked for it for a long time and found that the wnameless/oracle-xe-11g image was good and easy to set up.
However, a problem was also found that mounting local volumes was a problem. Once mounted, you will not be able to log in. From the official issues, it is found that there is a version of fork that solves this problem. Record it.
Create docker-compose working directory mkdir-p oracle/datacd oracletouch docker-compose.yml configuration docker-compose.ymlversion: '2'services: oracle: image: sath89/oracle-xe-11g container_name: oracle ports:-1521 volumes: -. / data:/u01/app/oracle startup container # start oracledocker-compose up-d # close container docker-compose kill login to oracle
Parameters used for login:
SID: xeusername: systempassword: oracle
Note: the original text wrote the wrong user name, not admin, but system,sorry
After entering, you can change the password and create users.
Why bind local volumes
The problem that the wnameless version cannot bind local volumes will cause us to lose all our operations in the database, created tables, data, and so on, once we restart or rebuild the container.
The local volume is bound to persist the container's data to the local machine. Just the sauce.
At this point, I believe you have a deeper understanding of "docker's method of building an oracle development environment". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.