This simple exampe will create a hello world web service that will listen on the port 80.
docker service create \ --publish 80:80 \ tutum/hello-world