Skip to content

Bumping resources.secrets leads to docker error #27812

@ygersie

Description

@ygersie

Nomad version

1.10.8+ent

Issue

Create a job with:

            resources {
                cpu = 100
                memory = 128
                secrets = 6
            }

Result: allocation fails to start with docker error:

Time                       Type             Description
2026-04-09T10:32:30+02:00  Alloc Unhealthy  Unhealthy because of failed task
2026-04-09T10:32:26+02:00  Not Restarting   Error was unrecoverable
2026-04-09T10:32:26+02:00  Driver Failure   failed to create container: Error response from daemon: Minimum memory limit can not be less than memory reservation limit, see usage
2026-04-09T10:32:25+02:00  Task Setup       Building Task Directory
2026-04-09T10:32:19+02:00  Received         Task received by client

Setting memory_max to the same value as memory fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs Roadmapping

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions