Starting Docker

Find out how to start Docker for use with OCI Functions.

Before using OCI Functions, Docker must be running in your development environment. If it is not running, you must start Docker before proceeding.

If you are using Cloud Shell as your development environment, Docker has already been started for you.

The instructions in this topic assume:

To verify that Docker is running:

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

  2. In a terminal window, launch the standard hello-world Docker image as a container to confirm that Docker is running by entering:

    docker run hello-world
  3. Do one of the following, depending on the message you see:

    • If you see an error message indicating that Docker is not running, you have to start the Docker daemon before proceeding. See the Docker documentation for information about starting Docker on your platform.

    • If you see an error message indicating that the network timed out while trying to connect and advising you to check your internet connection or whether you are behind a proxy, your development environment might be behind a corporate proxy server or firewall. In which case, you will probably need to set the http_proxy, https_proxy, and no_proxy environment variables. Ask your network administrator for advice.
    • If you see a message like the one shown below, Docker is already running and you can proceed:

      Hello from Docker.
      
      This message shows that your installation appears to be working correctly.

When you have completed the steps in this topic, go on to Logging in to Oracle Cloud Infrastructure Registry.