After creating a new swarm, nodes will not run containers

I have spun up a new swarm with 1 manager and 2 nodes.
The nodes look to be attached to the manager.
docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
6ip4al3ahxajabtdtbc1ei42b swarmwrk1 Ready Active
d0h8cjp1b1k6vqyzotnnu9hen * swarmma1 Ready Active Leader
qevhwoz4yoapenwpji8x9nff7 swarmwrk2 Ready Active

But when I try and run a container across the nodes, I get problems on the nodes.
docker service create --name my_web
–replicas 3
–publish 8080:80
nginx

docker service ps my_web
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
hvnu82cwpvah my_web.1 nginx:latest swarmwrk1 Ready Ready 1 second ago
iwdbfbg366i2 _ my_web.1 nginx:latest swarmwrk1 Shutdown Failed 1 second ago "starting container failed: er…"
7i4s24orh3c3 _ my_web.1 nginx:latest swarmwrk1 Shutdown Failed 7 seconds ago "starting container failed: er…"
o7n3w4eufn2a _ my_web.1 nginx:latest swarmwrk1 Shutdown Failed 12 seconds ago "starting container failed: er…"
ccyjde7ftyms my_web.2 nginx:latest swarmwrk2 Ready Ready 1 second ago
giqp264dbvz4 _ my_web.2 nginx:latest swarmwrk2 Shutdown Failed 1 second ago "starting container failed: er…"
sr14n8j79udl _ my_web.2 nginx:latest swarmwrk2 Shutdown Failed 6 seconds ago "starting container failed: er…"
q2t5t451d77v _ my_web.2 nginx:latest swarmwrk2 Shutdown Failed 12 seconds ago "starting container failed: er…"
kndiy453cbr6 my_web.3 nginx:latest swarmma1 Running Running 11 seconds ago

and they all end up running on the manager.
Do you have any ideas?
Thank You
Jamie

This seems to work
docker service create
–mode global
–publish mode=host,target=80,published=8080
–name=my_web
nginx:latest

It creates a container on all hosts and exposes the port correctly. Maybe this is a problem with the mesh?

Thank You
Jamie

I created a daemon.json and attached the dockerd daemon to the tcp port. It seems to be working now.
I am testing that everything works.

Jamie