Skip to content

[Bug] The shm_size property in resources doesn't take effect #1006

@peterschmidt85

Description

@peterschmidt85

Steps to reproduce:

  1. Define .dstack.yml
type: dev-environment

python: 3.11

ide: vscode

resources:
  shm_size: 4GB
  1. dstack run . -b aws

  2. Inside the dev environment, run df -h /dev/shm

It prints:

Filesystem      Size  Used Avail Use% Mounted on
shm              64M     0   64M   0% /dev/shm

Note

If I ssh <run name>host, and run docker inspect <container id> | grep -i shm, it prints:

"ShmSize": 67108864,

Metadata

Metadata

Labels

bugSomething isn't workingmajor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions