Aspose.Cells Cloud Docker Container Storage Configuration

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

Re‑specify the storage profile when you need to use a custom storage folder for Aspose.Cells Cloud images.

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 :