[pve-devel] [PATCH container] config: allow empty environment variables

Filip Schauer f.schauer at proxmox.com
Mon Nov 17 15:08:16 CET 2025


On 17/11/2025 14:59, Fabian Grünbichler wrote:
> shouldn't we handle this and drop that environment variable entry
> instead?

An empty environment variable is not the same as a missing one. The
entrypoint in the container might interpret it differently:

```
$ perl -e 'use Data::Dumper; print Dumper($ENV{A});'
$VAR1 = undef;
$ A= perl -e 'use Data::Dumper; print Dumper($ENV{A});'
$VAR1 = '';
```





More information about the pve-devel mailing list