Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
8de12acc
Commit
8de12acc
authored
Sep 10, 2015
by
yuqi huang
Committed by
huangyuqi
Sep 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the dead link &typo error of docker.md
fix the dead link &typo error of docker.md
parent
e6e69e31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docker.md
docs/getting-started-guides/docker.md
+4
-4
No files found.
docs/getting-started-guides/docker.md
View file @
8de12acc
...
...
@@ -42,7 +42,7 @@ Running Kubernetes locally via Docker
-
[
Step Three: Run the service proxy
](
#step-three-run-the-service-proxy
)
-
[
Test it out
](
#test-it-out
)
-
[
Run an application
](
#run-an-application
)
-
[
Expose it as a service
:
](
#expose-it-as-a-service
)
-
[
Expose it as a service
](
#expose-it-as-a-service
)
-
[
A note on turning down your cluster
](
#a-note-on-turning-down-your-cluster
)
### Overview
...
...
@@ -128,7 +128,7 @@ On OS/X you will need to set up port forwarding via ssh:
boot2docker ssh
-L8080
:localhost:8080
```
List the nodes in your cluster by running:
:
List the nodes in your cluster by running:
```
sh
kubectl get nodes
...
...
@@ -149,7 +149,7 @@ If you are running different Kubernetes clusters, you may need to specify `-s ht
kubectl
-s
http://localhost:8080 run nginx
--image
=
nginx
--port
=
80
```
n
ow run
`docker ps`
you should see nginx running. You may need to wait a few minutes for the image to get pulled.
N
ow run
`docker ps`
you should see nginx running. You may need to wait a few minutes for the image to get pulled.
### Expose it as a service
...
...
@@ -164,7 +164,7 @@ NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR
nginx 10.0.93.211 <none>
80/TCP
run
=
nginx 1h
```
If
`CLUSTER_IP`
is blank run the following command to obtain it. Know issue
#10836
If
`CLUSTER_IP`
is blank run the following command to obtain it. Know issue
[
#10836
](
https://github.com/kubernetes/kubernetes/issues/10836
)
```
sh
kubectl get svc nginx
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment