Set default LANG in exec container to make umlauts and other special characters work

This commit is contained in:
Johannes Zellner
2022-11-16 15:49:06 +01:00
parent e3642f4278
commit 9da4f55754
+2 -1
View File
@@ -2460,7 +2460,8 @@ async function createExec(app, options) {
// When passing binary data, tty must be disabled. In addition, the stdout/stderr becomes a single
// unified stream because of the nature of a tty (see https://github.com/docker/docker/issues/19696)
Tty: options.tty,
Cmd: cmd
Cmd: cmd,
Env: [ 'LANG=C.UTF-8' ]
};
return await docker.createExec(app.containerId, createOptions);