File: get-started/part3.md, CC @johndmulhausen
When following the example to the letter, receiving the aforementioned error when running docker stack deploy command
Env. details: Latest docker + docker-compose as of this writing, Ubuntu Server 16.04 LTS. Not root, 'sudo' everywhere.

Thanks in advance.
Instead of an image, can you paste here your getstartedlab file?
Check here how to paste code blocks
@AlexOQ You should set an empty line before services and networks like this:

I think the docs are fine here, so closing this. Hope the comments were helpful in debugging the issue for you. :)
Check indentation. In the original screenshot, ports and networks property are defined under deploy. They should be properties under web
Most helpful comment
Check indentation. In the original screenshot,
portsandnetworksproperty are defined underdeploy. They should be properties underweb