-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
There was a problem entering the container #3231
Comments
Is this happening with a specific container, or with any container? Is the container fully functional otherwise?
I don't directly think this would be a kernel issue (based on the description), but that said, kernel |
This problem occurs in all containers. Once the problem of unable to enter the container occurs, all containers cannot enter. Only after restarting the docker service can you enter temporarily. Sometimes, even the 'systemctl restart docker' doesn't respond and gets stuck. Finally, I choose to restart the server to try to solve this problem. After restarting, it can work normally for a period of time, but after a week, this problem occurs again. When installing the docker version, I installed it according to the command 'yum -y install docker-ce docker-ce-cli containerd.io'. I also installed this docker version on other servers. Other servers use CentOS 8.3. This problem does not occur at present. So I'm not sure whether this problem is the docker problem or the server problem. If this problem is caused by the higher version of docker, can I reduce the version of docker to solve this problem? |
So the problem doesn't occur on the CentOS 8.3 servers? And those are identical otherwise? With your description that the problem introduces itself after some time; is is possible the machine is running out of resources on something? (e.g. memory pressure, cpu load), and therefore slow to respond? |
At present, the server with the problem is used in production. Moreover, its CPU resources and memory are not overloaded. Several other CentOS 8.3 servers are only used as test servers at present. Therefore, it is uncertain whether this problem will occur in CentOS 8.3, because this server has not been put into production. |
Clear! Thanks for the extra details. I don't have a direct idea at present what can cause this, but let me also include my comment from your original issue in case it helps others with coming to possible ideas; moby/moby#42707 (comment)
|
When you have a solution, please reply to me when you can. Thank you! |
Will do (but not sure at this moment if it will be easy to triage further). Also keep us posted if you discover more details that could help narrowing down (and if the problem does not occur on CentOS 8) |
Let me close this ticket as the resizing issue should be fixed on current versions of docker (23.0 and 24.0), see #3554 |
docker version:20.10.6
Use the docker exec command to enter the container:
failed to resize tty, using default size
docker version:
docker info:
After restarting the docker, you can enter the container through exec temporarily, but after a period of time or a few days, you can't enter the container using exec and report 'failed to resize TTY, using default size'. Sometimes, even restarting the docker will get stuck and there will be no response。
Is this problem because the kernel version of CentOS is incompatible with the new version of docker or something? How do you think this problem can be solved?
The text was updated successfully, but these errors were encountered: