You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
*`docker logs` shows all the logs prefixed with log source (in the style of syslog).
8
8
* Uses `trap` to handle signals and shutdown gracefully.
9
9
* Data and logs go to `/data`, so that `-v /data` could be used.
10
-
*Mounts 50% of total memory to `/dev/shm` as shared memory. Oracle instance uses 40% of total memory. Can be changed in[entrypoint.sh](step2/entrypoint.sh) and[create_database.sh](step2/create_database.sh).
10
+
* Oracle instance uses 40% of total memory. Can be changed in [create_database.sh](step2/create_database.sh).
11
11
* rlwrap can be installed by running `bash /tmp/install/install_rlwrap.sh` (+ 50 MB on disk).
docker run -d --privileged --name oracle_database -p 1521:1521 bofm/oracle12c:created
64
+
docker run -d --shm-size 1GB --name oracle_database -p 1521:1521 bofm/oracle12c:created
65
65
# Foreground
66
-
docker run -it --privileged --name oracle_database -p 1521:1521 bofm/oracle12c:created
66
+
docker run -it --shm-size 1GB --name oracle_database -p 1521:1521 bofm/oracle12c:created
67
67
```
68
68
69
69
* Logs
@@ -108,15 +108,14 @@ make all
108
108
```
109
109
110
110
### Limitations and Bugs
111
-
* `--privileged` option is required to mount /dev/shm to use Oracle's automatic memory management.
111
+
* `--shm-size` option is required to mount /dev/shm to use Oracle's automatic memory management.
112
112
* Database options and sample schemas installation through DBCA is a mystery. In this repo dbca is run with `-sampleSchema true` and [db_template.dbt](step2/db_template.dbt) contains this line `<option name="SAMPLE_SCHEMA" value="true"/>`, but nothing happens, the database is always created without sample schemas. Well, that's Oracle Database after 30+ years of development.
113
113
114
114
### License
115
115
* This repo - [MIT License](LICENSE).
116
116
* Oracle Database software - see [Database Licensing Information](http://docs.oracle.com/database/121/DBLIC/toc.htm).
117
117
118
118
### TODO
119
-
* Remove `--privileged` and use `--shm-size` instead
0 commit comments