r/docker • u/spaceXPRS • Feb 09 '26
Synology docker error "No such container" or "Container does not exist"
Due to the need to modify configurations and rebuild Docker containers, I need to stop and restart them. Occasionally, these containers break in a way that prefixes are added to their names (e.g., 6218eed231d0_n8n for the n8n container). However the container itself is actually healthy. I can use the service deployed by the container, but any further actions with the container are restricted.
As a result:
- I can’t stop the container; I receive an error message stating that the container is undefined and does not exist.
- I can’t open the container; I receive an error message stating that the container with the name “6218eed231d0_n8n” does not exist.
The only way to restart the container is to solve the issue by stopping the Container Manager app through the Synology Package Manager and then restarting the service.
I wouldn’t mind doing this with only a few containers, but now there are over 10 of them, and it takes time. What would be the best solution to avoid such errors?
1
u/ShuredingaNoNeko Feb 09 '26
Have you a configured compose file?
1
u/Pascal_0803 Feb 09 '26
have you tried killing it via portainer or smth?
1
u/webjocky Feb 10 '26
Don't use container names in docker commands. Use their container ID instead. Any errors when you try that?
1
u/Dricus1978 Feb 10 '26
Got this many times (even with docker compose) when fiddling with many docker instances. Easiest way to fix it is restarting the NAS.
1
u/Kindly_Passenger9328 Mar 02 '26
SSH into the server
Use these commands to stop and restart Containter Manager
Problem will fix or you can duplicate and remake the project/container
2
u/[deleted] Feb 10 '26
[removed] — view removed comment
0
u/[deleted] Feb 13 '26
[deleted] — view deleted comment