mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-18 01:20:01 +02:00
Feature: add cpuset option
Signed-off-by: Romain Gasquet <romain.gasquet@neutron.fr>
This commit is contained in:
@@ -1189,6 +1189,10 @@ async def container_to_args(compose, cnt, detached=True, no_deps=False):
|
||||
if cnt.get("runtime"):
|
||||
podman_args.extend(["--runtime", cnt["runtime"]])
|
||||
|
||||
cpuset = cnt.get("cpuset")
|
||||
if cpuset is not None:
|
||||
podman_args.extend(["--cpuset-cpus", cpuset])
|
||||
|
||||
# WIP: healthchecks are still work in progress
|
||||
healthcheck = cnt.get("healthcheck", {})
|
||||
if not isinstance(healthcheck, dict):
|
||||
|
Reference in New Issue
Block a user