Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error When Enabling GPU on existing container #10174

Closed
2 tasks done
WaysonWei opened this issue Aug 25, 2023 · 0 comments · Fixed by #8316
Closed
2 tasks done

Error When Enabling GPU on existing container #10174

WaysonWei opened this issue Aug 25, 2023 · 0 comments · Fixed by #8316
Labels
Milestone

Comments

@WaysonWei
Copy link
Collaborator

Before you start please confirm the following.

Problem Description

When you try to enable GPU on an existing container, you receive the following error and the container is stopped:

Failure
e.HostConfig.DeviceRequests is null

Expected Behavior

User should be able to enable GPU on a container without error and stopping the container.

Actual Behavior

When you try to enable GPU on an existing container, you receive the following error and the container is stopped:

Failure
e.HostConfig.DeviceRequests is null

Steps to Reproduce

[1] Build GPU enabled instance
[2] Add Environment
[3] Create Stack
[4] Navigate to Container
[5] Duplicate/Edit >> Runtime and Resources
[6] Enable GPU >> default settings
[7] Update Limits >> Deploy Container

Portainer logs or screenshots

No response

Portainer version

2.18.4

Portainer Edition

Business Edition (BE/EE) with 5NF / 3NF license

Platform and Version

Docker 24.0.3

OS and Architecture

ARM64

Browser

No response

What command did you use to deploy Portainer?

No response

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant