See the Docker documentation for information about installing Docker on your platform. If your platform is Oracle Linux, see Oracle Container Runtime for Docker User's Guide. If you see a message indicating the version of Docker that's installed, go to the next step. Jan 05, 2021 Install Docker Engine on Oracle Linux 8 or 7. Run system update. First of all, run the system update command to rebuild the repo cache and update installed packages. Sudo yum update. Install Yum Config-manager. To add a repository without going through the repo file and edit to insert a repository URL, we can use the yum-config-manager tool.
I previously wrote an article on how to install Docker on CentOS 7. I’m going to write up an article for Oracle Linux 7.7 this time. It’s the same Docker after all, so the end result should be pretty much the same.
First of all, SSH into your VM on OCI.
Update the host.
Configure Docker to survive restarts.
Run hello-world container to test the Docker engine.
Check the running (but exited) container.
Remove the container.
List the local images.
Remove the local image.
Wow, that was a breeze. I could have added Docker’s yum repository to install the latest and greatest bits but then I’d rather go with Oracle’s repo because the version must have gone through tests for Oracle Linux. This looks promising and I’m one step closer to hosting my WordPress blog on OCI.
Before using Oracle Functions, a version of Docker supported by Fn Project must be installed in your development environment.
If you are using Cloud Shell as your development environment, a suitable version of Docker has already been installed for you.
If Docker is not already installed, or the installed version of Docker is not supported, you'll have to install or upgrade Docker.
The instructions in this topic assume:
To confirm that a supported version of Docker is installed in your development environment:
Log in to your development environment as a functions developer.
In a terminal window, confirm that Docker is installed by entering:
Do one of the following, depending on the message you see:
Assuming Docker is installed, go to the Fn Project home page on GitHub to confirm that the installed version of Docker is at least the minimum version specified in the Pre-requisites section.
If the installed version of Docker is not supported by Fn Project, you have to upgrade the version of Docker before proceeding. See the Docker documentation for information about upgrading Docker on your platform. If your platform is Oracle Linux, see Oracle Container Runtime for Docker User's Guide.
When you have completed the steps in this topic, go on to Installing the Fn Project CLI.