Skip to content

Conversation

Evrard-Nil
Copy link
Contributor

This allows to use a local docker registry in the docker compose file and speed up re-deployment times.

@kvinwang
Copy link
Collaborator

There is a config docker_registry here: https://github.com/Dstack-TEE/dstack/blob/master/vmm/vmm.toml#L21. Does it meet the requirement?

@Evrard-Nil
Copy link
Contributor Author

Evrard-Nil commented Sep 23, 2025

From a quick read of dstack's code this feature does not allow the registry to be insecure. My understanding is that it would still need to be https, is that correct? @kvinwang

@kvinwang
Copy link
Collaborator

From a quick read of dstack's code this feature does not allow the registry to be insecure. My understanding is that it would still need to be https, is that correct? @kvinwang

Yes. If the option is not suitable for you, you may set up the daemon.json in the Pre-launch Script. Hardcoding such rules into the OS image does not look like a good idea.

@kvinwang
Copy link
Collaborator

The Phala Cloud pre-launch script is available here for your reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants