Docker swarm doesn't support host pid mode?

I want a container to share PID with host OS and I found host pid mode in docker options.

However, It seems not to support in swarm mode as my testing though I check it works on docker run and docker-compose up.

In the document, there is no mention that swarm mode doesn’t support host pid mode.

Swam mode doesn’t support host pid mode?

Actually, I posted this topic on stack overflow first but I couldn’t have gotten an answer.

This is my full asking on stack overflow.