Title: [UX] Support `~` for `path` in instance volumes · Issue #3526 · dstackai/dstack · GitHub
Open Graph Title: [UX] Support `~` for `path` in instance volumes · Issue #3526 · dstackai/dstack
X Title: [UX] Support `~` for `path` in instance volumes · Issue #3526 · dstackai/dstack
Description: Currently, I have to type: type: task volumes: - /dstack-cache/pip:/root/.cache/pip When we don't know the username, specifying home directory paths is very difficult. Ideal would be: type: task volumes: - /dstack-cache/pip:~/.cache/pip
Open Graph Description: Currently, I have to type: type: task volumes: - /dstack-cache/pip:/root/.cache/pip When we don't know the username, specifying home directory paths is very difficult. Ideal would be: type: task vo...
X Description: Currently, I have to type: type: task volumes: - /dstack-cache/pip:/root/.cache/pip When we don't know the username, specifying home directory paths is very difficult. Ideal would be: type: tas...
Opengraph URL: https://github.com/dstackai/dstack/issues/3526
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[UX] Support `~` for `path` in instance volumes","articleBody":"Currently, I have to type:\n\n```\ntype: task\n\nvolumes:\n - /dstack-cache/pip:/root/.cache/pip\n ```\n\nWhen we don't know the username, specifying home directory paths is very difficult.\n\nIdeal would be:\n\n```\ntype: task\n\nvolumes:\n - /dstack-cache/pip:~/.cache/pip\n ```","author":{"url":"https://github.com/peterschmidt85","@type":"Person","name":"peterschmidt85"},"datePublished":"2026-02-01T11:43:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3526/dstack/issues/3526"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:04de2f53-882b-ff4e-cc3c-1ae4e9a0325a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A540:E7E5C:10BCA77:172D6C2:6980BCC3 |
| html-safe-nonce | ad8f8d5b388c89841f94be3b6b85c91caab557fed8d43e66b322765870406930 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTQwOkU3RTVDOjEwQkNBNzc6MTcyRDZDMjo2OTgwQkNDMyIsInZpc2l0b3JfaWQiOiI3NDc5MjQyNzQ1MjE1NzYxNjAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 88263822159ade891a320c25a2e78712a741af552121f1e9a54de9ef90d97a53 |
| hovercard-subject-tag | issue:3881875203 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dstackai/dstack/3526/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec7efa82f094fa45ded703c2c3dcf4dcdddbb296e89012f590142cdd00d6c5e3/dstackai/dstack/issues/3526 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec7efa82f094fa45ded703c2c3dcf4dcdddbb296e89012f590142cdd00d6c5e3/dstackai/dstack/issues/3526 |
| og:image:alt | Currently, I have to type: type: task volumes: - /dstack-cache/pip:/root/.cache/pip When we don't know the username, specifying home directory paths is very difficult. Ideal would be: type: task vo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | peterschmidt85 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fb936832e40deb3175641d9cfedc8432372f91b0bc899576222953095fc7879e |
| turbo-cache-control | no-preview |
| go-import | github.com/dstackai/dstack git https://github.com/dstackai/dstack.git |
| octolytics-dimension-user_id | 54146142 |
| octolytics-dimension-user_login | dstackai |
| octolytics-dimension-repository_id | 444377346 |
| octolytics-dimension-repository_nwo | dstackai/dstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 444377346 |
| octolytics-dimension-repository_network_root_nwo | dstackai/dstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ad74180531de4861d5eee036a47b86c66a5b756e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width