Using the Docker Oracle container as a development database server

Source: Internet
Author: User
Tags docker run

Oracle is the big guy for OLTP, and it's used by many industry applications. So in the process of development of the inevitable use of Oracle database, Oracle database version has a lot of, where the Express version is a free development version, its main limitation is the size of the database maximum 1G, and some performance limitations, so it is more appropriate to take the development.

Here's how to use the Oracle-loaded Docker container for development:

To introduce the image of Docker-oracle, he was installed on Ubuntu based on the Oracle XE version to complete.

Pull an image that already has the Oracle XE installed.

Docker Pull alexeiled/docker-oracle-xe-11g

Launch an Oracle container with the newly downloaded image, open 22 1521 8080 port

Docker run-d-P 22:22-p 1521:1521-p 8080:8080 alexeiled/docker-oracle-xe-11g

Here are some basic information about the containers:

Oracle
Sid Xe
System Oracle
Operating system:
Root Admin

So that we can use this container for development, such as a project that requires 3 Oracle servers:

Docker run-d-P 101:22-p 1521:1521-p 8080:8080--name oracle1 alexeiled/docker-oracle-xe-11g

Docker run-d-P 102:22-p 1522:1521-p 8081:8080--name oracle2 alexeiled/docker-oracle-xe-11g

Docker run-d-P 103:22-p 1523:1521-p 8082:8080--name oracle3 alexeiled/docker-oracle-xe-11g

The startup script can also be simply written as Docker start Oracle1 oracle2 oracle3

This can be useful for quickly building a development environment with Oracle.

Using the Docker Oracle container as a development database server

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.