containers
VerifiedEnrichment0.1.2Use when: When the system ships as container images, run on laptops, servers, Compose or a managed container service. Add the kubernetes pack as well for a cluster.
How software is packaged and run as containers, before any orchestrator: the image that holds it, the registry that stores it, the container that runs it, the host it runs on and the storage it uses. OCI only, so Docker, Podman and containerd all fit. Rules ask that every container runs one image in one place, and that images are pinned and stored in a registry.
Add it
Open it in trumly cloud to start a project with this pack already in. In an existing project, open the editor's Packs tab, choose containers, then Add. Nodes you change after adding are kept when the pack is upgraded.
From a known source. Reviewed by us, and the publisher is known.
Explore is a read-only demo in your browser: nothing to sign in to, and nothing is saved.
- Namespace
ctr--- Size
- 19 nodes
- Needs
- core@^1.0.0
- Works with
- kubernetes@^0.2.0
- Enriches
- design
- Publisher
- trumly
- Versions
0.1.2·0.1.1·0.1.0- Checksum
c89c1da70495faa7…
Examples 1
- The ops API in containersA starting point
One image for the operations API, stored in Amazon ECR and run two ways: on a developer laptop with Compose, and on AWS App Runner for previews.
Show the 40 nodes
- Jobs listed
acceptance-criterionacceptance-criterion-jobs-listed - Ops staff
actoractor-ops-staff - Job volume stays modest
assumptionassumption-job-volume - View job status
capabilitycapability-view-job-status - AWS
cloud-providercloud-provider-aws - AWS App Runner
cloud-servicecloud-service-apprunner - Amazon ECR
cloud-servicecloud-service-ecr - ECS Fargate
cloud-servicecloud-service-fargate - RDS for PostgreSQL
cloud-servicecloud-service-rds - Ops API
componentcomponent-ops-api - Local development stack
compose-projectcompose-project-ops-local - Job
conceptconcept-job - Vertical scaling
consequenceconsequence-one-engine - Data stays in UK/EU
constraintconstraint-uk-eu-data - API on App Runner
containercontainer-ops-api-apprunner - API on a laptop
containercontainer-ops-api-local - Short titles
conventionconvention-short-titles - Ops db
datastoredatastore-ops-db - Managed document store
decision-optiondecision-option-document-store - Managed PostgreSQL
decision-optiondecision-option-managed-postgres - Database choice
decisiondecision-use-postgres - Production
environmentenvironment-production - Timely ops visibility
goalgoal-timely-visibility - Developer laptop
hosthost-dev-laptop - ops-api image
imageimage-ops-api - Cache image
imageimage-ops-cache - Live job status
incrementincrement-live-status - Ops API
interfaceinterface-ops-api - Job status age
metricmetric-status-freshness - Ops API
overviewoverview - Prefer managed services
principleprinciple-prefer-managed - London
regionregion-london - Container registry
registryregistry-ecr - List jobs
requirementrequirement-list-jobs - Job volume growth
riskrisk-job-volume-growth - Dev
teamteam-dev - Platform
teamteam-platform - Local API data
volumevolume-ops-local-data - Build status API
work-packagework-package-build-status-api - Private zone
network-zonezone-private
- Jobs listed
Planes 1
- Containers
Types 6
- compose-projectUse for a group of containers started together on one host from a single Compose file, such as an app, its database and its cache.
- containerUse for one running instance of an image: the process, its limits and its ports. Model one per place the image runs, such as your laptop, a Kubernetes workload or a managed container service.
- hostUse for a single machine that runs containers directly, with no orchestrator: a developer laptop, a build server or a small VM running Docker.
- imageUse for a packaged, versioned build of your software that can be started as a container. Build it once, run it in many places. One image per deployable piece of software.
- registryUse for the place images are stored and pulled from. Every image that runs somewhere other than the machine that built it needs one.
- volumeUse for storage a container reads or writes outside its own disposable filesystem, such as a database folder or uploaded files.
Link types 5
- belongs-to
Use to say which group something is a member of: a container in a Compose project, or (with the kubernetes pack) a namespace in a cluster or a workload in a namespace. - mounts
container, workload → volume, persistent-volume-claimUse to say something reads and writes durable storage: a container mounts a volume, or (with the kubernetes pack) a workload mounts a persistent volume claim. - packages
image → componentUse to say what software an image holds. This joins the design to the container that ships it. - runs
container → imageUse to say which image a container is started from. - stored-in
image → registryUse to say which registry holds an image.
Calculated values 1
- reference
{stored-in/url}/{repository}:{tag}The full reference of an image, the name a container pulls.
Rules 6
- WarningEvery container details a component or a datastore, or runs in a workload that does
- InfoContainers should not run as root unless there is a reason
- ErrorEvery container runs exactly one image
- ErrorEvery container runs in exactly one place
- WarningEvery image is stored in a registry
- WarningNo image uses the latest tag