Aspose.Cells Cloud Docker Container Storage Configuration

Summary: This guide shows how to configure the storage location for Aspose.Cells Cloud Docker containers on Windows and Linux using JSON configuration files and Docker run commands.

Default Storage Configuration

Prerequisites: Ensure Docker Engine 20.10+ is installed, you have valid Aspose.Cells Cloud license keys (LicensePublicKey and LicensePrivateKey), and the host folder you intend to use for storage (e.g., c:/data on Windows or /data on Linux) exists with appropriate permissions.

Default Position

  • windows
c:\app\storageResource.json
  • linux
/app/storageResource.json

Custom Storage Configuration

Specify a custom storage profile when you need to use a different folder for Aspose.Cells Cloud data.

docker run -d \
  -v c:/data:c:/data \   # mount host folder as container storage
  -p 47900:5000 \        # map API port
  -e LicensePublicKey=yourLicensePublicKey \
  -e LicensePrivateKey=yourLicensePrivateKey \
  -e storagesCredentialsFilePath=c:/data/storageResource.json \
  --name asposecellscloud \
  aspose/cells-cloud:ltsc2019.22.9.0

Linux example:

docker run -d \
  -v /data:/data \   # mount host folder as container storage
  -p 47900:5000 \    # map API port
  -e LicensePublicKey=yourLicensePublicKey \
  -e LicensePrivateKey=yourLicensePrivateKey \
  -e storagesCredentialsFilePath=/data/storageResource.json \
  --name asposecellscloud \
  aspose/cells-cloud:ltsc2019.22.9.0

Reference Document :