Update docker.md
Clean up some duplicate commands
This commit is contained in:
@@ -142,11 +142,7 @@ ip=$(kubectl get svc nginx --template={{.spec.clusterIP}})
|
|||||||
echo $ip
|
echo $ip
|
||||||
{% endraw %}```
|
{% endraw %}```
|
||||||
|
|
||||||
Hit the webserver with this IP:
|
On Linux the IP is directly accessible via a web browser.
|
||||||
|
|
||||||
```shell{% raw %}
|
|
||||||
kubectl get svc nginx --template={{.spec.clusterIP}}
|
|
||||||
{% endraw %}```
|
|
||||||
|
|
||||||
On OS X, since docker is running inside a VM, run the following command instead:
|
On OS X, since docker is running inside a VM, run the following command instead:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user