Skip to main content

Package app with Docker

Package your completed Atlan application as a Docker container to meet deployment requirements for Atlan's partner program. This creates the OCI-compliant container format required for app distribution through Atlan's ecosystem.

Before you begin

Verify you have the following ready before packaging your application:

Build your Docker image

Build your application as a Docker container image. Atlan expects app developers to send multi-platform images when submitting apps for release to support compatibility across different hardware architectures.

  1. Navigate to your application directory containing the Dockerfile (for example, connectors/mysql or quickstart/ai_giphy).

  2. Choose the appropriate build method based on your deployment needs:

    Build a multi-platform image that supports both AMD64 and ARM64 architectures. Atlan requires multi-platform images when you submit apps for release to support compatibility across different deployment environments and hardware architectures used by Atlan customers.

    docker buildx build --no-cache --platform linux/amd64,linux/arm64 -t app-name:latest . --push
    • Replace app-name with a descriptive name for your application image.
    • The --platform linux/amd64,linux/arm64 flag creates a manifest that includes both AMD64 (x86_64) and ARM64 (aarch64) architectures.
    • The --push flag automatically pushes the multi-platform manifest to your registry after building.

Test your containerized application

Verify your containerized application works correctly before submitting it for release. Run the container with the appropriate environment variables based on your Temporal service location.

  1. Run your container with the required environment variables:

    • For local Temporal service:

      docker run -p 8000:8000 --add-host=host.docker.internal:host-gateway -e ATLAN_WORKFLOW_HOST=host.docker.internal -e ATLAN_WORKFLOW_PORT=7233 --user 1000:1000 app-name
      • Replace <your-temporal-host> and <your-temporal-port> with your Temporal service location.
    • For remote Temporal service:

      docker run -p 8000:8000 -e ATLAN_WORKFLOW_HOST=<your-temporal-host> -e ATLAN_WORKFLOW_PORT=<your-temporal-port> --user 1000:1000 app-name
      • Replace <your-temporal-host> and <your-temporal-port> with your Temporal service location.
  2. Verify your application works by accessing http://localhost:8000

Your application is now packaged as an OCI-compliant container ready for deployment within Atlan's runtime environment. Collaborate with your Atlan partnership team to validate container compatibility and deployment requirements.

Need help

If you encounter issues with registry authentication or image uploads, submit a support request or contact your Atlan partnership team.

Next steps

After packaging your application, push your Docker images to Atlan's Harbor registry: