Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] unexpected character "-" in variable name since Docker Desktop 4.35.0 #12240

Closed
softwaremaverick opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels

Comments

@softwaremaverick
Copy link

softwaremaverick commented Oct 28, 2024

Description

I've seen this since I upgraded to 4.35.0 today. As a result I couldn't build and therefore uninstalled and re-installed 4.34.3 which worked fine.

The actual segment of the env file looks like this:

DOCKER_HOST=host.docker.internal
aws.sqs.base-url=http://${DOCKER_HOST}:4566/

Steps To Reproduce

  1. With this config
DOCKER_HOST=host.docker.internal
aws.sqs.base-url=http://${DOCKER_HOST}:4566/

Compose Version

$ docker compose version
Docker Compose version v2.29.7-desktop.1

$ docker-compose version
Docker Compose version v2.29.2-desktop.2

Docker Environment

$ docker info
Client:
Version: 27.3.1
Context: desktop-linux
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.17.1-desktop.1
Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe
compose: Docker Compose (Docker Inc.)
Version: v2.29.7-desktop.1
Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe
debug: Get a shell into any image or container (Docker Inc.)
Version: 0.0.37
Path: C:\Program Files\Docker\cli-plugins\docker-debug.exe
desktop: Docker Desktop commands (Alpha) (Docker Inc.)
Version: v0.0.15
Path: C:\Program Files\Docker\cli-plugins\docker-desktop.exe
dev: Docker Dev Environments (Docker Inc.)
Version: v0.1.2
Path: C:\Program Files\Docker\cli-plugins\docker-dev.exe
extension: Manages Docker extensions (Docker Inc.)
Version: v0.2.27
Path: C:\Program Files\Docker\cli-plugins\docker-extension.exe
feedback: Provide feedback, right in your terminal! (Docker Inc.)
Version: v1.0.5
Path: C:\Program Files\Docker\cli-plugins\docker-feedback.exe
init: Creates Docker-related starter files for your project (Docker Inc.)
Version: v1.3.0
Path: C:\Program Files\Docker\cli-plugins\docker-init.exe
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
Version: 0.6.0
Path: C:\Program Files\Docker\cli-plugins\docker-sbom.exe
scout: Docker Scout (Docker Inc.)
Version: v1.14.0
Path: C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
Containers: 17
Running: 0
Paused: 0
Stopped: 17
Images: 8
Server Version: 27.3.1
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 nvidia runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 472731909fa34bd7bc9c087e4c27943f9835f111
runc version: v1.1.13-0-g58aa920
init version: de40ad0
Security Options:
seccomp
Profile: unconfined
Kernel Version: 5.15.153.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 12
Total Memory: 31.17GiB
Name: docker-desktop
ID: e2863093-f9c9-4aad-bb95-43725f70b9a5
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTP Proxy: http.docker.internal:3128
HTTPS Proxy: http.docker.internal:3128
No Proxy: hubproxy.docker.internal
Labels:
com.docker.desktop.address=npipe://\.\pipe\docker_cli
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5555
127.0.0.0/8
Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: daemon is not using the default seccomp profile

Anything else?

No response

@softwaremaverick softwaremaverick changed the title [BUG] unexpected character "-" in variable name since 4.35.0 [BUG] unexpected character "-" in variable name since Docker Desktop 4.35.0 Oct 28, 2024
@jhrotko jhrotko added the area/env .env and env_file label Oct 28, 2024
@jhrotko
Copy link
Contributor

jhrotko commented Oct 28, 2024

Hello @softwaremaverick!

This issue will be corrected in the next Docker Desktop release which will have compose version v2.30.0. This issue has been addressed in a previous issue. Sorry for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants