Revert "feat: support adding labels on dynamic container creation (#610)" (#619)

This reverts commit f32ba3bb51.
This commit is contained in:
Jake Turner 2026-04-01 11:04:11 -07:00 committed by GitHub
parent f32ba3bb51
commit d25292a713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -508,11 +508,6 @@ export class DockerService {
const container = await this.docker.createContainer({
Image: finalImage,
name: service.service_name,
Labels: {
...(containerConfig?.Labels ?? {}),
'com.docker.compose.project': 'project-nomad-managed',
'io.project-nomad.managed': 'true',
},
...(containerConfig?.User && { User: containerConfig.User }),
HostConfig: gpuHostConfig,
...(containerConfig?.WorkingDir && { WorkingDir: containerConfig.WorkingDir }),