Create a container configuration

Container configurations define the Docker image, runtime settings, and deployment parameters for your containerized applications.

To create a new container configuration, perform the following tasks:

  1. From the Splunk OTI main navigation, select Containers.
  2. Click New Deployment.
  3. In the Container Information section, enter a Name for your container configuration.
  4. In the Container Source section, choose one of the following options:
    • Docker Repository option: Use this option for images hosted on Docker Hub or private registries.
      1. Select Docker Repository.
      2. In the Image Name field, enter the Docker image name. For example: nginx, tensorflow/tensorflow, or myregistry.com/myapp.
      3. In the Tag field, enter the image tag. For example: latest, 1.21, or v2.4.0.
    • Container URL option: Use this option for direct links to container images.
      1. Select Container URL.
      2. In the Container URL field, enter the complete URL to the container image. For example: https://registry.example.com/myapp:v1.0.
  5. Configure container runtime settings. Container runtime settings control resource allocation, networking, and application behavior.
    1. In the JSON Configuration section, enter your container configuration using JSON format.
  6. Configure mapped files (optional): Mapped files allow you to mount external files into the container's filesystem, useful for configuration files, AI models, or data sets. To add mapped files manually:
    1. In the Mapped Files section, click Add Manually.
    2. Click Add File.
    3. In the Filename field, enter the path inside the container where the file will be mounted. For example: /app/config.json.
    4. In the URL field, enter the external URL where the file can be downloaded. For example: https://storage.example.com/config.json.
    5. Repeat for additional files.
  7. To upload mapped files as JSON:
    1. In the Mapped Files section, click Upload JSON.
    2. Enter a JSON array defining your mapped files.
  8. Save the container configuration:
    1. Review your configuration settings.
    2. Click Create Deployment to save the container configuration.
    The configuration is now available for deployment to Edge Hubs.