How do you create a directory on a manager in Swarm Mode?

I’m just trying out Docker.

Having followed the getting started guide, I note that it is necessary to create directories on the host machine.

I can do this using docker-machine on my own computer and on AWS instances I create.

I cannot work out how to do this using the new Docker Swarm feature. Does anyone know the correct command(s)?


I am having the same problem.