Swar-m CPU shares is the number of CPUs rather than shares

Hello all,

So I’m using Docker Swarm and when I do docker run -c 1 instead of being assigned 1 share, its being assigned 1024 shares.
The interesting part is that when I run docker update -c 1 it now correctly assigns 1.

Is there anyway to fix the docker run so I don’t have to run the update to get the correct shares value?

Thanks
Sérgio Mendes