12/28/2021

Oracle Linux Docker Install

99

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.

Install Docker.

Start Docker.

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.

Recap

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.

Install

Oracle Linux 7.5 Install Docker

The instructions in this topic assume:

  • you are not using Cloud Shell as your development environment
  • you are using Linux
  • you have already completed the steps in Creating a Profile in the Oracle Cloud Infrastructure CLI Configuration File

To confirm that a supported version of Docker is installed in your development environment:

  1. Log in to your development environment as a functions developer.

  2. In a terminal window, confirm that Docker is installed by entering:

  3. 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.
  4. 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.

Install

Oracle Linux Docker Install For Windows 7

When you have completed the steps in this topic, go on to Installing the Fn Project CLI.

  • Most Viewed News

    • Latest Version Of Ms Office For Mac
    • Bootable Usb Macos High Sierra
    • Hassio Docker