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] failed to read expected number of bytes: unexpected EOF #12167

Closed
marverix opened this issue Sep 27, 2024 · 3 comments
Closed

[BUG] failed to read expected number of bytes: unexpected EOF #12167

marverix opened this issue Sep 27, 2024 · 3 comments

Comments

@marverix
Copy link

Description

Publishing to docker.io does not work, I'm getting:

❯ docker compose -f src/redis.yaml alpha publish docker.io/corporatedataleague/compose-redis:1.0.0
[+] Pushing 1/0
 ✔ redis Skipped                                                                                                                                                                                                                                        0.0s 
WARN[0000] reference for unknown type: application/vnd.docker.compose.file+yaml 
[+] Publishing 0/1
[+] Publishing 1/1ratedataleague/compose-redis:1.0.0 publishing                                                                                                                                                                                         1.1s 
 ✘ docker.io/corporatedataleague/compose-redis:1.0.0 publishing                                                                                                                                                                                         1.5s 
failed to read expected number of bytes: unexpected EOF

Steps To Reproduce

  1. Create src/redis.yaml file:
services:
  redis:
    image: redis:6.2
    ports:
      - 6379:6379
  1. Login to Docker Hub
  2. Try to publish:
docker compose -f src/redis.yaml alpha publish docker.io/corporatedataleague/compose-redis:1.0.0

Compose Version

Docker Compose version v2.29.2

Docker Environment

Client: Docker Engine - Community
 Version:    27.2.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.16.2
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.2
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 8
  Running: 4
  Paused: 0
  Stopped: 4
 Images: 56
 Server Version: 27.2.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 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: 472731909fa34bd7bc9c087e4c27943f9835f111
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.0-122-generic
 Operating System: Ubuntu 22.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 30.71GiB
 Name: (redacted)
 ID: RTI5:GZGG:PK3V:5OHT:NDE5:6764:RZ4D:IMO3:TFWH:H5WD:CA3Q:L26V
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: (redacted)
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Anything else?

No response

@idsulik
Copy link
Collaborator

idsulik commented Oct 8, 2024

Fixed here #12169

@idsulik idsulik closed this as completed Oct 8, 2024
@marverix
Copy link
Author

marverix commented Oct 8, 2024

Thanks! Do you know by change when next release will be?

@idsulik
Copy link
Collaborator

idsulik commented Oct 8, 2024

According to the latest release date, I think it should be within a week, but I'm not sure)

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

No branches or pull requests

2 participants