LogoLogo
Bonsai (0.13) DocsGitHubDiscord CommunityGarden Enterprise
Acorn (0.12)
Acorn (0.12)
  • Welcome!
  • 🌳Basics
    • How Garden Works
    • Quickstart Guide
    • The Stack Graph (Terminology)
  • 🌻Tutorials
    • Your First Project
      • 1. Initialize a Project
      • 2. Connect to a Cluster
      • 3. Deploy and Test
      • 4. Configure Your Project
  • 💐Using Garden
    • Configuration Overview
    • Projects
    • Modules
    • Services
    • Tests
    • Tasks
    • Workflows
    • Variables and templating
    • Module Templates
    • Using the CLI
  • 🌿Kubernetes Plugins
    • About
    • Remote K8s Plugin Configuration
      • 1. Create a Cluster
        • AWS
        • GCP
        • Azure
      • 2. Configure Container Registry (Optional)
        • AWS
        • GCP
        • Azure
      • 3. Set Up Ingress, TLS and DNS
      • 4. Configure the Provider
    • Local K8s Plugin Configuration
      • 1. Install Local Kubernetes
      • 2. Configure the Provider
    • Module Configuration
      • Container
      • Kubernetes
      • Helm
      • PersistentVolumeClaim
      • ConfigMap
    • Advanced
      • In-Cluster Building
      • Minimal RBAC Configuration for Development Clusters
      • Deploying to Production
  • 🌺Terraform Plugin
    • About
    • Provider Configuration
    • Module Configuration
  • ☘️Pulumi Plugin
    • About
    • Provider Configuration
    • Module Configuration
  • 🌹Other Plugins
    • Container
    • Exec (local scripts)
  • 🌼Guides
    • Installing Garden
    • Adopting Garden
    • Code Synchronization (Dev Mode)
    • Connecting a local service to a K8s cluster (Local Mode)
    • Environments and namespaces
    • Hot Reload
    • Migrating from Docker Compose to Garden
    • Using Garden in CI
  • 🌷Advanced
    • cert-manager Integration
    • Using Remote Sources
    • Custom Commands
  • 🪷Reference
    • Providers
      • conftest-container
      • conftest-kubernetes
      • conftest
      • container
      • exec
      • hadolint
      • jib
      • kubernetes
      • local-kubernetes
      • maven-container
      • octant
      • openfaas
      • pulumi
      • terraform
    • Module Types
      • configmap
      • conftest
      • container
      • exec
      • hadolint
      • helm
      • jib-container
      • kubernetes
      • maven-container
      • openfaas
      • persistentvolumeclaim
      • pulumi
      • templated
      • terraform
    • Template Strings
      • Project configuration context
      • Environment configuration context
      • Provider configuration context
      • Module configuration context
      • Remote Source configuration context
      • Project Output configuration context
      • Custom Command configuration context
      • Workflow configuration context
      • Template Helper Functions
    • Glossary
    • Commands
    • Project Configuration
    • Module Template Configuration
    • Workflow Configuration
  • 🎋Misc
    • FAQ
    • Troubleshooting
    • Telemetry
Powered by GitBook
On this page
  • Description
  • Complete YAML Schema
  • Configuration Keys
  • apiVersion
  • kind
  • type
  • name
  • build
  • build.dependencies[]
  • build.dependencies[].name
  • build.dependencies[].copy[]
  • build.dependencies[].copy[].source
  • build.dependencies[].copy[].target
  • build.timeout
  • build.targetImage
  • description
  • disabled
  • include[]
  • exclude[]
  • repositoryUrl
  • allowPublish
  • generateFiles[]
  • generateFiles[].sourcePath
  • generateFiles[].targetPath
  • generateFiles[].resolveTemplates
  • generateFiles[].value
  • variables
  • varfile
  • buildArgs
  • extraFlags[]
  • image
  • hotReload
  • hotReload.sync[]
  • hotReload.sync[].source
  • hotReload.sync[].target
  • hotReload.postSyncCommand[]
  • dockerfile
  • services[]
  • services[].name
  • services[].dependencies[]
  • services[].disabled
  • services[].annotations
  • services[].command[]
  • services[].args[]
  • services[].daemon
  • services[].devMode
  • services[].devMode.args[]
  • services[].devMode.command[]
  • services[].devMode.sync[]
  • services[].devMode.sync[].target
  • services[].devMode.sync[].exclude[]
  • services[].devMode.sync[].source
  • services[].devMode.sync[].mode
  • services[].devMode.sync[].defaultFileMode
  • services[].devMode.sync[].defaultDirectoryMode
  • services[].devMode.sync[].defaultOwner
  • services[].devMode.sync[].defaultGroup
  • services[].localMode
  • services[].localMode.ports[]
  • services[].localMode.ports[].local
  • services[].localMode.ports[].remote
  • services[].localMode.command[]
  • services[].localMode.restart
  • services[].localMode.restart.delayMsec
  • services[].localMode.restart.max
  • services[].ingresses[]
  • services[].ingresses[].annotations
  • services[].ingresses[].hostname
  • services[].ingresses[].linkUrl
  • services[].ingresses[].path
  • services[].ingresses[].port
  • services[].env
  • services[].healthCheck
  • services[].healthCheck.httpGet
  • services[].healthCheck.httpGet.path
  • services[].healthCheck.httpGet.port
  • services[].healthCheck.httpGet.scheme
  • services[].healthCheck.command[]
  • services[].healthCheck.tcpPort
  • services[].healthCheck.readinessTimeoutSeconds
  • services[].healthCheck.livenessTimeoutSeconds
  • services[].hotReloadCommand[]
  • services[].hotReloadArgs[]
  • services[].timeout
  • services[].limits
  • services[].limits.cpu
  • services[].limits.memory
  • services[].cpu
  • services[].cpu.min
  • services[].cpu.max
  • services[].memory
  • services[].memory.min
  • services[].memory.max
  • services[].ports[]
  • services[].ports[].name
  • services[].ports[].protocol
  • services[].ports[].containerPort
  • services[].ports[].localPort
  • services[].ports[].servicePort
  • services[].ports[].hostPort
  • services[].ports[].nodePort
  • services[].replicas
  • services[].volumes[]
  • services[].volumes[].name
  • services[].volumes[].containerPath
  • services[].volumes[].hostPath
  • services[].volumes[].module
  • services[].privileged
  • services[].tty
  • services[].addCapabilities[]
  • services[].dropCapabilities[]
  • services[].deploymentStrategy
  • tests[]
  • tests[].name
  • tests[].dependencies[]
  • tests[].disabled
  • tests[].timeout
  • tests[].args[]
  • tests[].artifacts[]
  • tests[].artifacts[].source
  • tests[].artifacts[].target
  • tests[].command[]
  • tests[].env
  • tests[].cpu
  • tests[].cpu.min
  • tests[].cpu.max
  • tests[].memory
  • tests[].memory.min
  • tests[].memory.max
  • tests[].volumes[]
  • tests[].volumes[].name
  • tests[].volumes[].containerPath
  • tests[].volumes[].hostPath
  • tests[].volumes[].module
  • tests[].privileged
  • tests[].addCapabilities[]
  • tests[].dropCapabilities[]
  • tasks[]
  • tasks[].name
  • tasks[].description
  • tasks[].dependencies[]
  • tasks[].disabled
  • tasks[].timeout
  • tasks[].args[]
  • tasks[].artifacts[]
  • tasks[].artifacts[].source
  • tasks[].artifacts[].target
  • tasks[].cacheResult
  • tasks[].command[]
  • tasks[].env
  • tasks[].cpu
  • tasks[].cpu.min
  • tasks[].cpu.max
  • tasks[].memory
  • tasks[].memory.min
  • tasks[].memory.max
  • tasks[].volumes[]
  • tasks[].volumes[].name
  • tasks[].volumes[].containerPath
  • tasks[].volumes[].hostPath
  • tasks[].volumes[].module
  • tasks[].privileged
  • tasks[].addCapabilities[]
  • tasks[].dropCapabilities[]
  • Outputs
  • Module Outputs
  • ${modules.<module-name>.buildPath}
  • ${modules.<module-name>.name}
  • ${modules.<module-name>.path}
  • ${modules.<module-name>.var.*}
  • ${modules.<module-name>.var.<variable-name>}
  • ${modules.<module-name>.version}
  • ${modules.<module-name>.outputs.local-image-name}
  • ${modules.<module-name>.outputs.local-image-id}
  • ${modules.<module-name>.outputs.deployment-image-name}
  • ${modules.<module-name>.outputs.deployment-image-id}
  • Service Outputs
  • ${runtime.services.<service-name>.version}
  • Task Outputs
  • ${runtime.tasks.<task-name>.version}
  • ${runtime.tasks.<task-name>.outputs.log}

Was this helpful?

  1. Reference
  2. Module Types

container