×ðÁú¿­Ê±

dockerÔõôװÖÃoracle

ÔÚ docker ÖÐ×°Öà oracle Êý¾Ý¿âµÄÒªÁ죺À­È¡ oracle docker ¾µÏñ¡£½¨ÉèÊý¾Ý¾í´æ´¢Êý¾Ý¿âÊý¾Ý¡£ÔËÐÐ docker ÈÝÆ÷ £¬²¢½«Êý¾Ý¾íÓ³Éäµ½ÈÝÆ÷ÖÐ oracle Êý¾Ý¿âĬÈϵÄÊý¾Ý´æ´¢Â·¾¶¡£ÔËÐк󼴿ÉʹÓà oracle ʵÀý¡£

Docker ÖÐ×°Öà Oracle Êý¾Ý¿â

ÔõÑù×°Öã¿

ÔÚ Docker ÖÐ×°Öà Oracle Êý¾Ý¿â £¬¿ÉÒÔͨ¹ýÒÔÏ°취£º

À­È¡ Oracle Docker ¾µÏñ£º

docker pull oracle/database:21.3.0.0

µÇ¼ºó¸´ÖÆ

½¨ÉèÊý¾Ý¾í£º

docker volume create oracle-data

µÇ¼ºó¸´ÖÆ

ÔËÐÐ Docker ÈÝÆ÷£º

docker run -d --name oracle-db \
-p 1521:1521 \
-v oracle-data:/opt/oracle/oradata \
oracle/database:21.3.0.0

µÇ¼ºó¸´ÖÆ

Ïêϸ˵Ã÷£º

°ì·¨ 1£ºÀ­È¡ Docker ¾µÏñ

Õ⽫´Ó Docker Hub À­È¡¹Ù·½ Oracle Êý¾Ý¿â Docker ¾µÏñ¡£Äú¿ÉÒÔÖ¸¶¨Ìض¨µÄ°æ±¾ £¬Èç “21.3.0.0”¡£

°ì·¨ 2£º½¨ÉèÊý¾Ý¾í

´ËÊý¾Ý¾í½«´æ´¢Êý¾Ý¿âÊý¾Ý £¬Ëü×ÔÁ¦ÓÚÈÝÆ÷±£´æ¡£ÕâÈ·±£ÁË×ÝÈ»ÈÝÆ÷¹Ø±Õ»òɾ³ý £¬Êý¾ÝÒ²Äܳ¤ÆÚ´æ´¢¡£

°ì·¨ 3£ºÔËÐÐ Docker ÈÝÆ÷

´ËÏÂÁÔËÐÐ Oracle Êý¾Ý¿â Docker ÈÝÆ÷£º

-d£ººǫ́ÔËÐÐÈÝÆ÷¡£

–name oracle-db£ºÎªÈÝÆ÷Ö¸ÃüÃû³Æ¡£

-p 1521:1521£º½«ÈÝÆ÷µÄ 1521 ¶Ë¿ÚÓ³Éäµ½Ö÷»úµÄ 1521 ¶Ë¿Ú £¬ÕâÊÇ Oracle ĬÈϼàÌý¶Ë¿Ú¡£

-v oracle-data:/opt/oracle/oradata£º½«Êý¾Ý¾í¹ÒÔص½ÈÝÆ÷ÖÐµÄ /opt/oracle/oradata Ŀ¼ £¬ÕâÊÇ Oracle Êý¾Ý¿âÊý¾Ý´æ´¢Î»ÖõÄĬÈÏ·¾¶¡£

ÈÝÆ÷Æô¶¯ºó £¬Äú¾Í¿ÉÒÔʹÓà Oracle ʵÀýÁË¡£

ÒÔÉϾÍÊÇdockerÔõôװÖÃoracleµÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±

13452372176

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
¡¾ÍøÕ¾µØͼ¡¿¡¾sitemap¡¿