gatekeeper_create_container
Creates and starts a Docker container with custom configuration as the first deployment step. Supports image, ports, environment variables, volumes, network, and restart policy for immediate use.
Instructions
Create and start a new Docker container with custom configuration. DEPLOYMENT ORDER: This is step 1 of 4 — do this first. Requires image. Optional: name, projectSlug, ports, env, network, volumes, restartPolicy. If the user provides .env variables, pass them in the env field. If the user says the env vars are already in a local .env file on the Docker host, prefer passing envFilePath (absolute path) so Gatekeeperd can load it server-side. After creation, verify the container is running before proceeding to project creation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | No | ||
| image | Yes | ||
| ports | No | ||
| network | No | ||
| volumes | No | ||
| envFilePath | No | ||
| projectSlug | No | ||
| restartPolicy | No |