0.18.10-v1
0.18.10
The update includes all the features and bug fixes from version 0.18.10.
Environment variables interpolation
Previously, it wasn't possible to use environment variables to configure credentials for a private Docker registry. With this update, you can now use the following interpolation syntax to avoid hardcoding credentials in the configuration.
type: dev-environment
name: train
env:
- DOCKER_USER
- DOCKER_USERPASSWORD
image: dstackai/base:py3.10-0.4-cuda-12.1
registry_auth:
username: ${{ env.DOCKER_USER }}
password: ${{ env.DOCKER_USERPASSWORD }}
Network interfaces for port forwarding
When you run a dev environment or a task with dstack apply
, it automatically forwards the remote ports to localhost. However, these ports are, by default, bound to 127.0.0.1
. If you'd like to make a port available on an arbitrary host, you can now specify the host using the --host
option.
For example, this command will make the port available on all network interfaces:
dstack apply --host 0.0.0.0 -f my-task.dstack.yml
Major bugfixes
- [Bugfix] Fix
http
services running on443
in the logs by @r4victor in dstackai/dstack#1522 - [Bugfix] Ensure
dstack
CLI exits with non-zero exit code on errors by @r4victor in dstackai/dstack#1529 - [Bugfix] Forece the use of the
root
user in custom Docker images by @jvstme in dstackai/dstack#1538 - [Bugfix] Update Docker to 27.1.1 in
dstack
VM images by @jvstme in dstackai/dstack#1536
Other
- [Feature] Add
--host HOST
arg todstack apply
command by @un-def in dstackai/dstack#1531 - [Feature] Interpolate
env
inregistry_auth
by @r4victor in dstackai/dstack#1540 - [Docs] Document the
nvcc
property by @peterschmidt85 in dstackai/dstack#1526 - [Interna] Fix unlocking on transaction rollback by @r4victor in dstackai/dstack#1537
- [Internal] Bump base
dstack
image version to0.5
by @jvstme in dstackai/dstack#1541
All changes: dstackai/dstack@0.18.9...0.18.10