OS: Debian 12
Branch: master
Hey guys,
I tried installing mailcow in a container on my proxmox host today but I got hit with this weird error when trying to start the container.
Error response from daemon:
failed to create task for container:
failed to create shim task:
OCI runtime create failed:
runc create failed:
unable to start container process:
error during container init:
error setting rlimits for ready process:
error setting rlimit type 6:
operation not permitted:
unknown
the error message was one line; added returns for readability
I used the official guide and the package manager route. All docker files seem to have been pulled successfully but docker compose up -d
quit, not starting these two services:
⠦ Container mailcowdockerized-postfix-mailcow-1 Starting 32.8s
⠙ Container mailcowdockerized-dovecot-mailcow-1 Starting 32.8s
Upon rerunning the other services reported as Running
Opening journalctl
gave me this:
T22:23:30.423491075Z error Handler for POST /v1.49/containers/[container 1e]/start returned error: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 6: operation not permitted: unknown spanID=[1] traceID=[2]
T22:23:30.937760985Z info Skipping check for route to send NA, EMSGSIZE" eid=[5] ep=mailcowdockerized-postfix-mailcow-1 net=mailcowdockerized_mailcow-network nid=[3] spanID=[4] traceID=[2]
T22:23:30.947873351Z warning Failed to allocate and map port: failed to bind host port for 0.0.0.0:25:172.22.1.253:25/tcp: address already in use eid=[5] ep=mailcowdockerized-postfix-mailcow-1 net=mailcowdockerized_mailcow-network nid=[3] spanID=[4] traceID=[2]
T22:23:31.018376623Z info ignoring event container=[container 40] module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
T22:23:31.052725563Z error Handler for POST /v1.49/containers/[container 40]/start returned error: failed to set up container networking: driver failed programming external connectivity on endpoint mailcowdockerized-postfix-mailcow-1 ([5] ): failed to bind host port for 0.0.0.0:25:172.22.1.253:25/tcp: address already in use" spanID=[4] traceID=[2]
T22:23:31.941169028Z warning MAC address changed eid=[5] ep=mailcowdockerized-postfix-mailcow-1 iface=eth0 ifi=2 ip4=172.22.1.253/24 ip6="fd4d:6169:6c63:6f77::b/64" mac="26:cc:77:04:47:53" mcastRouteOk=true n=1 net=mailcowdockerized_mailcow-network newMAC="bc:24:11:d9:25:a0" nid=[3] spanID=[4] traceID=[2]
removed ids for better readability