Skip to content

nerdctl compose file map multiple ports (label key and value length (30968 bytes) greater than maximum size (4096 bytes)) #4027

Open
@chawson

Description

@chawson

Description

What is the problem you're trying to solve

when compose.yml file include follows code will get error:

compose.yaml: service part

mozi-zlm:
    image: nginx:1.27.4
    ports:
      - '32000-32200:32000-32200'
      - '32000-32200:32000-32200/udp'

nerdctl compose up -d received

Image

Steps to reproduce the issue

Describe the results you received and expected

nerdctl compose file can map multiple ports and when compose failed can still create service

What version of nerdctl are you using?

Client:
Version: v2.0.2
OS/Arch: linux/amd64
Git commit: 1220ce7
buildctl:
Version: v0.18.1
GitCommit: eb68885955169461d72dc2b7e6d084100fcaba86

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

Client:
Namespace: default
Debug Mode: false

Server:
Server Version: v2.0.1
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Log: fluentd journald json-file none syslog
Storage: native overlayfs
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.14.0-061400rc5-generic
Operating System: Linux Mint 22.1
OSType: linux
Architecture: x86_64
CPUs: 6
Total Memory: 15.54GiB

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions