Run nginx from Docker without Compose

I have LEMP+WordPress. Now I need run ONLY NGINX from Docker without using compose. How can I link mysql, php to it?

Source: StackOverflow