User daath encountered a Docker error — “write init-p: broken pipe” — after updating their Discourse server on Ubuntu 14.04.5 LTS, causing the forum to fail to restart. Attempts to rebuild, reinstall Docker, and reboot the server were unsuccessful. The issue persisted even with basic Docker commands like docker run --rm ubuntu echo 1, indicating a deeper system-level Docker failure. Despite adequate disk space (daath) and a running Docker service (daath), the problem remained unresolved. After hours of troubleshooting, daath opted to migrate to a new Ubuntu 18.04 droplet, copying over /var/discourse and waiting for DNS propagation. pfaffman suggested copying only the latest backup and containers directory to save time, but daath needed full data. Later, aye.javier identified the root cause: a known Docker security vulnerability (CVE-2019-5736) tied to kernel and Docker version incompatibility. daath expressed regret for not spotting this earlier, but confirmed the new setup on Ubuntu 18.04 was working. The resolution highlights the importance of checking Docker and kernel compatibility, especially on older OS versions like Ubuntu 14.04.
I am currently out of the country, and silly as I am, I wanted to update my discourse server - usually that goes without issues.
After the update, the forum didn’t come back up. I tried git pull and launcher rebuild but this error keeps coming up:
/usr/bin/docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused “process_linux.go:297: copying bootstrap data to pipe caused "write init-p: broken pipe"”: unknown.
Your Docker installation is not working correctly
Searching the forum didn’t yield much - other than “Your docker isn’t working”. I didn’t change a thing, and the machine itself is dedicated for Discourse. I tried reinstalling docker, but nothing changed…
Any help to get the forum up and running again will be greatly appreciated
It’s running Ubuntu 14.04.5 LTS on Digital Ocean (I wasn’t sure if it was safe to upgrade to 16.04)…
From the thread I ran:
root@forum:~# docker run --rm -i -a stdin -a stdout ubuntu echo 1
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:297: copying bootstrap data to pipe caused \"write init-p: broken pipe\"": unknown.
Docker version:
# docker -v
Docker version 18.06.2-ce, build 6d37f41
Man, I wish I had seen that… I spent 5 hours debugging, searching, then creating a new droplet and copying everything over and waiting for DNS to propagate Oh, well, now I have a 18.04 droplet running the forum…