[Oracle] Install Oracle Free on Docker

BLOG

7/1/20241 min lire

We describe for you the installation of an Oracle Cloud Free Tier Database on Docker

The first step is to install Docker itself, then the Oracle engine.

> install Docker

# sudo yum install -y yum-utils

# sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

# sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# sudo systemctl start docker

# sudo docker run hello-world

> install oracle

# docker pull container-registry.oracle.com/database/free:latest

# docker run --name oracle -d container-registry.oracle.com/database/free:latest

# docker container ls

> connect

# docker exec -it oracle sqlplus