We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
configs
After upgrading Docker and Docker Compose, the injected (inline) configs are not created as world-readable anymore.
compose.yaml
services: example: image: bash configs: [{ source: foo, target: /foo }] configs: { foo: { content: 'bar' } }
docker compose run --rm example bash
ls -aFl /
/foo
0440
0444
Docker Compose version v2.34.0
Client: Docker Engine - Community Version: 28.0.2 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.22.0 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.34.0 Path: /usr/libexec/docker/cli-plugins/docker-compose Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 19 Server Version: 28.0.2 Storage Driver: overlayfs driver-type: io.containerd.snapshotter.v1 Logging Driver: local Cgroup Driver: systemd Cgroup Version: 2 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 runc Default Runtime: runc Init Binary: docker-init containerd version: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb runc version: v1.2.4-0-g6c52b3f init version: de40ad0 Security Options: seccomp Profile: builtin cgroupns no-new-privileges Kernel Version: 5.15.167.4-microsoft-standard-WSL2 Operating System: Ubuntu 24.04.2 LTS OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 15.59GiB Name: geth-desktop ID: 5814c356-970f-4d80-8dfa-4bbe4da79f33 Docker Root Dir: /var/lib/docker Debug Mode: false Username: gethdeeo Experimental: false Insecure Registries: ::1/128 127.0.0.0/8 Live Restore Enabled: false Default Address Pools: Base: 172.25.0.0/16, Size: 24 Base: fd4f:edd1:2b21:1011::/64, Size: 80
No response
The text was updated successfully, but these errors were encountered:
We also just hit the same issue. I somehow have the feeling, that this one here is the culprit: b6f313b
Sorry, something went wrong.
same cause as #12658
No branches or pull requests
Description
After upgrading Docker and Docker Compose, the injected (inline) configs are not created as world-readable anymore.
Steps To Reproduce
compose.yaml
with the following content:docker compose run --rm example bash
ls -aFl /
/foo
file is not world-readable, permission is0440
instead of0444
.Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: