Actions190
- Auth Actions
- Backup Actions
- Custom Templates Actions
- Docker Actions
- Edge Groups Actions
- Edge Jobs Actions
- Edge Stacks Actions
- Endpoint Groups Actions
- Endpoints Actions
- Endpoint Delete Batch
- Endpoint List
- Endpoint Create
- Endpoint Delete
- Endpoint Inspect
- Endpoint Update
- Endpoint Association Delete
- Endpoint Dockerhub Status
- Endpoint Edge Status Inspect
- Endpoint Force Update Service
- Endpoint Registries List
- Endpoint Registry Access
- Endpoint Settings Update
- Endpoint Snapshot
- Endpoint Update Relations
- Gitops Actions
- Helm Actions
- Intel Actions
- Kubernetes Actions
- Get All Kubernetes Applications
- Get All Kubernetes Applications Count
- Delete Cluster Role Bindings
- Delete Cluster Roles
- Get All Kubernetes Cluster Role Bindings
- Get All Kubernetes Cluster Roles
- Get All Kubernetes Config Maps
- Get All Kubernetes Config Maps Count
- Get Kubernetes Cron Jobs
- Delete Cron Jobs
- Get Kubernetes Dashboard
- Get All Kubernetes Ingress Controllers
- Update Kubernetes Ingress Controllers
- Get All Kubernetes Cluster Ingresses
- Get All Kubernetes Cluster Ingresses Count
- Delete Kubernetes Ingresses
- Get Kubernetes Jobs
- Delete Jobs
- Get Kubernetes Max Resource Limits
- Get Applications Resources
- Get Kubernetes Metrics For All Nodes
- Get Kubernetes Metrics For Node
- Get Kubernetes Metrics For All Pods
- Get Kubernetes Metrics For Pod
- Delete Kubernetes Namespace
- Get Kubernetes Namespaces
- Create Kubernetes Namespace
- Update Kubernetes Namespace Deprecated
- Get Kubernetes Namespace
- Update Kubernetes Namespace
- Get Kubernetes Config Map
- Get Kubernetes Ingress Controllers By Namespace
- Update Kubernetes Ingress Controllers By Namespace
- Get All Kubernetes Ingresses
- Create Kubernetes Ingress
- Update Kubernetes Ingress
- Get Kubernetes Ingress
- Get Kubernetes Secret
- Get Kubernetes Services By Namespace
- Create Kubernetes Service
- Update Kubernetes Service
- Kubernetes Namespaces Toggle System
- Get Kubernetes Volumes In Namespace
- Get Kubernetes Namespaces Count
- Get Kubernetes Nodes Limits
- Get Kubernetes RBAC Status
- Delete Role Bindings
- Get Kubernetes Role Bindings
- Get Kubernetes Roles
- Delete Roles
- Get Kubernetes Secrets
- Get Kubernetes Secrets Count
- Delete Service Accounts
- Get Kubernetes Service Accounts
- Get Kubernetes Services
- Get All Kubernetes Services Count
- Delete Kubernetes Services
- Get All Kubernetes Volumes
- Get Kubernetes Volume
- Get All Kubernetes Volumes Count
- Get Kubernetes Config
- Ldap Actions
- Registries Actions
- Resource Controls Actions
- Settings Actions
- Ssl Actions
- Stacks Actions
- Stack List
- Stack Delete
- Stack Inspect
- Stack Update
- Stack Associate
- Stack File Inspect
- Stack Update Git
- Stack Git Redeploy
- Stack Migrate
- Stack Start
- Stack Stop
- Stack Create Kubernetes Git
- Stack Create Kubernetes File
- Stack Create Kubernetes Url
- Stack Create Docker Standalone File
- Stack Create Docker Standalone Repository
- Stack Create Docker Standalone String
- Stack Create Docker Swarm File
- Stack Create Docker Swarm Repository
- Stack Create Docker Swarm String
- Stack Delete Kubernetes By Name
- Webhook Invoke
- Tags Actions
- Team Memberships Actions
- Teams Actions
- Templates Actions
- Upload Actions
- Users Actions
Stacks → Stack Create Docker Standalone File
AI-generatedOverview
This node operation allows you to create a new Docker stack in a specified environment using a standalone stack file. It interacts with a container management platform's API to deploy the stack by sending the stack configuration and optional environment variables.
Common scenarios for this node include automating deployment of multi-container Docker applications, managing infrastructure as code, or integrating stack deployments into CI/CD pipelines. For example, you could use it to programmatically deploy a web application stack defined in a Docker Compose file to a remote Docker environment.
Properties
| Name | Meaning |
|---|---|
| Endpoint Id | Identifier of the target environment where the stack will be deployed. |
| Name | The name to assign to the new stack being created. |
| Env | Environment variables to pass during deployment, formatted as a JSON array of objects with name and value keys. |
| File | The stack file content defining the services and configuration of the Docker stack (e.g., a Docker Compose file). |
Output
The node outputs JSON data representing the response from the stack creation API call. This typically includes details about the newly created stack such as its ID, status, and any metadata returned by the server.
If the stack file or environment variables are invalid, the output may contain error information describing what went wrong.
No binary data output is expected from this operation.
Dependencies
- Requires an API key credential to authenticate with the container management platform.
- Needs the base URL of the platform’s API configured in the credentials.
- The stack file must be provided in a supported format (commonly a Docker Compose YAML or JSON).
- The environment must be reachable via the provided endpoint identifier.
Troubleshooting
- Invalid Endpoint Id: If the environment identifier does not exist or is incorrect, the API will reject the request. Verify the endpoint ID corresponds to a valid environment.
- Malformed Stack File: Errors can occur if the stack file content is not properly formatted or missing required fields. Ensure the file is valid and correctly structured.
- Incorrect Environment Variables Format: The
Envproperty must be a JSON array of objects withnameandvalue. Invalid JSON or incorrect structure will cause deployment failure. - Authentication Errors: Missing or invalid API credentials will prevent communication with the platform. Confirm that the API key and base URL are correctly set.
- API Response Errors: Check the error messages returned in the output JSON for specific issues like permission denied, resource conflicts, or server errors.