This is a repository for the CU Dev container with Oracle DBMS.
80
IMPORTANT This version of the image is NOT suitable for creating secured database servers! Use the official image because it is more secure.
This is a docker image created for students at Carleton University. It was made so that students could get running quickly with minimal knowledge regardless of operation systems and without needing to use virtual machine software.
This container upgrades an official Oracle DBMS docker container with the following:
Docker containers are a useful way to create disposable instances quickly for development, testing, or production environments. They are similar to virtual machines in that they create an environment for you to build and test applications.
However, there are key differences between containers and virtual machines and if you would like to learn more about them this site is a useful resource. Read: What’s the Diff: VMs vs. Containers for more information.
/etc/* configurations that depend on the startup process will not work.SYSTEMD is not running in containers./etc/fstab will not work since the container OS doesn't have a normal startup.drazev/cuoracledevdbms:1.0.2 from docker hub to download it to your computer. This makes it available to create containers where 1.0.2 is the version. (NOTE: Running a container you don't have automatically will do this step)NOTE Default options will choose a random name for the container and will isolate it completely from the host machine. Data will persist inside the container until you destroy it. To change this behaviour, you must customize the container options!
/opt/oracle/oradata. If you don't the data will be destroyed when you delete the container.1521 when prompted in the options. You can have docker assign a random port on EVERY reboot by entering port 0 on your host machine.22 when prompted in options. You can have docker assign a random port on EVERY reboot by entering port 0 on your host machine.ORACLE_DB_DATA_PATH The path of the oracle database data folder. This is default /opt/oracle/oradataSTART_SSHD A true or false value that determines if SSHD will be run on container startup and allow ssh connections. Default: trueORACLE_PWD The default password assigned to the database and Linux user when the container was created. This could have been changed afterwards./opt/oracle/oradata This is the location where the oracle database data files are stored.NOTE You can bind map a host location to this location within the container. This will have docker bind your host location instead of creating a volume. If you map your own host location to this volume you can keep the database data backed up and use sit with another image. Beware that it is not intended to be shared by multiple DBMS. So you will have undefined results if more than one Oracle DBMS uses it!
See: Running Scripts after Setup or Startup in official base image documentation
You can move files between the host and container in one of two ways.
c:\myfolder to /home/oracle/myfolder1521. You can do this in docker desktop by viewing container details, or in docker console by doing docker ps{
SID = FREE
USER = system
PASSWORD: oracle
URL: localhost:<yourContainerPort>
}
This image is derived from the official Oracle Docker container running the latest free version. Docker Base Image tag: container-registry.oracle.com/database/free: latest Official Oracle Documentation: https://container-registry.oracle.com/ords/ocr/ba/database/free
Oracle Free Use Terms and Conditions
Content type
Image
Digest
sha256:a9d7f9864…
Size
3.6 GB
Last updated
over 2 years ago
docker pull drazev/cuoracledevdbms:1.0.2