@@ -518,10 +518,12 @@ ARGUMENTS
518518FLAGS
519519 -P, --publish-all publish all ports that are defined in the image
520520 -e, --env=<value>... set environment variables in the container
521+ -m, --memory=<value> set memory limit for the container
521522 -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the
522523 context
523524 -q, --quiet suppress process output and only display a machine-readable summary
524525 -v, --volume=<value>... bind mount a volume to the container
526+ --cpus=<value> set CPU limit for the container
525527 --create-volumes automatically create named volumes that do not exist
526528 --description=<value> add a descriptive label to the container
527529 --entrypoint=<value> override the default entrypoint of the container image
@@ -542,6 +544,11 @@ FLAG DESCRIPTIONS
542544
543545 Format: KEY=VALUE. Multiple environment variables can be specified with multiple --env flags.
544546
547+ -m, --memory=<value> set memory limit for the container
548+
549+ Specify the maximum amount of memory the container can use (e.g., '512m', '1g', '2g'). This is equivalent to the
550+ docker run --memory flag or the deploy.resources.limits.memory field in docker-compose.
551+
545552 -p, --project-id=<value> ID or short ID of a project; this flag is optional if a default project is set in the context
546553
547554 May contain a short ID or a full ID of a project; you can also use the "mw context set --project-id=<VALUE>" command
@@ -559,6 +566,11 @@ FLAG DESCRIPTIONS
559566 mount a path from your hosting environment's file system (NOT your local file system) into the container. You can
560567 also specify a named volume, which needs to be created beforehand.
561568
569+ --cpus=<value> set CPU limit for the container
570+
571+ Specify the number of CPUs available to the container (e.g., '0.5', '1', '2'). This is equivalent to the docker run
572+ --cpus flag or the deploy.resources.limits.cpus field in docker-compose.
573+
562574 --create-volumes automatically create named volumes that do not exist
563575
564576 When enabled, any named volumes referenced in --volume flags that do not already exist will be automatically created
0 commit comments