When using a webbrowser to open a docker container console, multiple pty's are allocated, but not all are unallocated on close.
This can lead to not being able to open a pty when the amount of allocated pty's gets to high with the following message:
OCI runtime exec failed: exec failed: unable to start container process: open /dev/ptmx: no space left on device: unknown
A reboot is needed to free up the allocated PTY's
A workaround is to increase the max pty's by running:
sysctl -w kernel.pty.max=8192
I have tested this in FireFox, Brave, Safari and Chrome.
- 1
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.