compose
compose copied to clipboard
[BUG] Getting `No such file or directory` when including OCI artifact using Docker remote
Description
Cannot include an OCI artifact published with docker compose alpha publish (https://github.com/docker/compose/pull/10949), as I am getting a "No such file or directory error":
open /home/runner/work/docker-remote-include-test/docker-remote-include-test/docker:ghcr.io/parisk/docker-remote-include-test: no such file or directory
Compose file published at ghcr.io/parisk/docker-remote-include-test:latest^1
services:
nginx-1:
image: nginx:1.25.3
nginx-2:
image: nginx:1.25.3
Compose file attempting to render:
include:
- docker:ghcr.io/parisk/docker-remote-include-test:latest
Full example, along with GitHub Actions available here: https://github.com/parisk/docker-remote-include-test.
Steps To Reproduce
- Publish Docker Compose file^1 as OCI artifact with
docker compose alpha publish^2 - Include the OCI artifact using the Docker remote in
include^3 - Run
docker compose configwithCOMPOSE_EXPERIMENTAL_OCI_REMOTE=true^4
Compose Version
v2.23.3
Docker Environment
Client: Docker Engine - Community
Version: 24.0.7
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.23.3
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 14
Server Version: 24.0.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 2
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 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: a1496014c916f9e62104b33d1bb5bd03b0858e59
runc version: v1.1.11-0-g4bccb38
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.2.0-1018-azure
Operating System: Ubuntu 22.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.61GiB
Name: fv-az915-576
ID: 292c307e-7759-4287-bc1a-499fe02d4acf
Docker Root Dir: /var/lib/docker
Debug Mode: false
Username: githubactions
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Anything else?
No response