Troubleshooting Error from Building Docker Images

The following error might occur when building Docker images:

Copy
rm: cannot remove '/home/tibuser/tibco/ope/6.0.0/configurator/standalone/config/ backup': Directory not empty

Perform the following steps to troubleshoot this error:

Procedure

  1. Run the following command on the host machine:

    Copy
    $] docker info | grep 'Storage Driver' | awk -F':' '{print $2}' overlay
    $]
  1. If the output is overlaid, then apply the following workaround:

    1. Stop the Docker engine.

    2. Changed DOCKER_OPTS to set storage-driver value to device-mapper, edit /etc/docker/ daemon.json, and add "storage-driver" : "devicemapper" at the end of existing keys.

    3. Start the Docker engine.

      Note:

       You can lose the existing Docker images due to the above change.

    4. Verify the fix by running the following command:

      Copy
      $] docker info | grep 'Storage Driver' | awk -F':' '{print $2}' devicemapper
      $]
  2. If the Recommendation Engine Data Store services fail to start from Docker container, check the Redis cluster configurations.