You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose on windows with docker-desktop with WSL2 (ubuntu) overwrite PATH declared on .env file Steps to reproduce the issue:
Create myenv.env file and set PATH="/some/customs/paths:/other/custom/path"
Create docker-compose.yaml and service with "env_file"
Run docker-compose up
Describe the results you received:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/SourceGear/Common/DiffMerge/:/mnt/c/Program Files/Java/jdk1.8.252_09/bin:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Users/myusername/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/myusername/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/myusername/AppData/Local/Programs/Git/cmd:/snap/bin
Describe the results you expected:
The variable PATH must be "/some/customs/paths:/other/custom/path" defined on myenv.env
Additional information you deem important (e.g. issue happens only occasionally):
It happens when I update docker-compose to v2.6.0 (I update docker desktop, and docker desktop use that version)
Output of docker compose version:
Docker Compose version v2.6.0
Output of docker info:
Ricardo, [08/06/2022 14:57]
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.8.2)
compose: Docker Compose (Docker Inc., v2.6.0)
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
scan: Docker Scan (Docker Inc., v0.17.0)
WARNING: Plugin "/usr/libexec/docker/cli-plugins/docker-app" is not valid: failed to fetch metadata: fork/exec /usr/libexec/docker/cli-plugins/docker-app: no such file or directory
Server:
Containers: 5
Running: 4
Paused: 0
Stopped: 1
Images: 8
Server Version: 20.10.16
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
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 logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
runc version: v1.1.1-0-g52de29d
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.16.3-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 5.801GiB
Name: docker-desktop
ID: PY4U:RZHA:R6OD:2NUV:5LYZ:SA47:DVJQ:4DPG:5GFG:BZYU:55JF:GVP2
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
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
hubproxy.docker.internal:5000
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
The text was updated successfully, but these errors were encountered:
Description
docker-compose on windows with docker-desktop with WSL2 (ubuntu) overwrite PATH declared on .env file
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
The variable PATH must be "/some/customs/paths:/other/custom/path" defined on myenv.env
Additional information you deem important (e.g. issue happens only occasionally):
It happens when I update docker-compose to v2.6.0 (I update docker desktop, and docker desktop use that version)
Output of
docker compose version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: