-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
Docker Engine v29 will drop support for using string as CMD during container creation, breaking exoframe traefik deploy.
Following fix should be applied (fully backwards compatible as older versions accepted both string and array of strings):
diff --git a/packages/exoframe-server/src/docker/traefik.js b/packages/exoframe-server/src/docker/traefik.js
index 41b6312..779d6f9 100644
--- a/packages/exoframe-server/src/docker/traefik.js
+++ b/packages/exoframe-server/src/docker/traefik.js
@@ -161,7 +161,9 @@ export async function initTraefik(exoNet) {
const container = await docker.createContainer({
Image: config.traefikImage,
name: config.traefikName,
- Cmd: '--configFile=/var/traefik-config/traefik.yml',
+ Cmd: [
+ '--configFile=/var/traefik-config/traefik.yml'
+ ],
Labels: {
'exoframe.deployment': 'exo-traefik',
'exoframe.user': 'admin',