mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Revert change from run-container to run.
This commit is contained in:
parent
99bf48dc2f
commit
0dfb681ba5
@ -51,7 +51,7 @@ If you are running different kubernetes clusters, you may need to specify ```-s
|
|||||||
|
|
||||||
### Run an application
|
### Run an application
|
||||||
```sh
|
```sh
|
||||||
kubectl -s http://localhost:8080 run nginx --image=nginx --port=80
|
kubectl -s http://localhost:8080 run-container nginx --image=nginx --port=80
|
||||||
```
|
```
|
||||||
|
|
||||||
now run ```docker ps``` you should see nginx running. You may need to wait a few minutes for the image to get pulled.
|
now run ```docker ps``` you should see nginx running. You may need to wait a few minutes for the image to get pulled.
|
||||||
|
Loading…
Reference in New Issue
Block a user