Skip to content

Oracle Database Docker deployment

This deployment method utilizes Docker containers to run an Oracle Database instance, specifically version 11.2, often referred to as Oracle XE (Express Edition)^[600-developer__database__oracle__oracle-plsql.md].

Configuration

A common way to deploy this is using a docker-compose.yml file^[600-developer__database__oracle__oracle-plsql.md]. The configuration typically defines a service named db using the datagrip/oracle:11.2 image^[600-developer__database__oracle__oracle-plsql.md].

Container Ports

The container generally exposes two ports^[600-developer__database__oracle__oracle-plsql.md]: * 1521: For database connections. * 8080: For web-based access or services.

Volumes

To persist data, a volume is mapped from the host to the container's directory (typically /u01/app/oracle)^[600-developer__database__oracle-plsql.md].

Connection Details

Once the container is running, you can connect to the database using the following default parameters^[600-developer__database__oracle__oracle-plsql.md]:

  • Hostname: localhost (or the host IP)
  • Port: 1521
  • SID: xe
  • Username: system
  • Password: oracle

Alternative administrative users include SYS and SYSTEM, which share the default password oracle^[600-developer__database__oracle__oracle-plsql.md].

  • [[Docker]]
  • [[Database]]

Sources

  • 600-developer__database__oracle__oracle-plsql.md