3. Install Docker for Use with Oracle Functions
Before using Oracle Functions, a version of Docker supported by Fn Project must be installed in your development environment. 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 you have already completed the steps in 2. Create a Profile in the Oracle Cloud Infrastructure CLI Configuration File.
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:
- If you see an error message indicating that Docker is not installed, you have to install Docker before proceeding to the next step. 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.
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 4. Install the Fn Project CLI.