Skip to content

docker run --cpus 2 ... doesn't work #410

@kvinwang

Description

@kvinwang

When running docker run --rm --cpus 2 ubuntu in dstack CVM, it fails with an error:

docker: Error response from daemon: Range of CPUs is from 0.01 to 1.00, as there are only 1 CPUs available.

This is because we have pinned dockerd to only one CPU in Dstack-TEE/meta-dstack#13.
It is unclear what the better solution might be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions