IPC with container option does't work with swarm

I was trying to use --ipc=container:<NodeName/NodeID> using swarm manager but the container was unable to start. Would be great if somebody found solution to it and can share the same.