Use the following code to get the services:
$ kubectl get services
As you can see, we don't have any service defined for our nginx containers that we started earlier. This means that, although we have a container running, we cannot access from outside because the corresponding service is not defined.