I have a docker swarm in a virtual machine with 2 core 4GB ram Centos.
In the swarm when I deploy docker private registry (registry 2.6.4) it shows service status as pending forever.
I used
docker service ps <<registry_name>>
And when i inspect using docker inspect <<task_id>> in message I got this
"no suitable node (scheduling constraints not satisfied on 1 node)".
I tried service restart and redeployment.
How to fix this?