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
94753fbe
Commit
94753fbe
authored
Oct 07, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the docker single node getting started guide to use the
1.0.6 release.
parent
7324cd68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
docker.md
docs/getting-started-guides/docker.md
+7
-7
No files found.
docs/getting-started-guides/docker.md
View file @
94753fbe
...
...
@@ -102,7 +102,7 @@ docker run \
--net
=
host
\
--privileged
=
true
\
-d
\
gcr.io/google_containers/hyperkube:v1.0.
1
\
gcr.io/google_containers/hyperkube:v1.0.
6
\
/hyperkube kubelet
--containerized
--hostname-override
=
"127.0.0.1"
--address
=
"0.0.0.0"
--api-servers
=
http://localhost:8080
--config
=
/etc/kubernetes/manifests
```
...
...
@@ -111,7 +111,7 @@ This actually runs the kubelet, which in turn runs a [pod](../user-guide/pods.md
### Step Three: Run the service proxy
```
sh
docker run
-d
--net
=
host
--privileged
gcr.io/google_containers/hyperkube:v1.0.
1
/hyperkube proxy
--master
=
http://127.0.0.1:8080
--v
=
2
docker run
-d
--net
=
host
--privileged
gcr.io/google_containers/hyperkube:v1.0.
6
/hyperkube proxy
--master
=
http://127.0.0.1:8080
--v
=
2
```
### Test it out
...
...
@@ -137,8 +137,8 @@ kubectl get nodes
This should print:
```
console
NAME LABELS STATUS
127.0.0.1
<none>
Ready
NAME LABELS
STATUS
127.0.0.1
kubernetes.io/hostname=127.0.0.1
Ready
```
If you are running different Kubernetes clusters, you may need to specify
`-s http://localhost:8080`
to select the local cluster.
...
...
@@ -160,11 +160,11 @@ kubectl expose rc nginx --port=80
This should print:
```
console
NAME
CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
nginx
10.0.93.211 <none>
80/TCP
run
=
nginx 1h
NAME
LABELS SELECTOR IP(S) PORT(S)
nginx
run=nginx run=nginx 80/TCP
```
If
`
CLUSTER_IP
`
is blank run the following command to obtain it. Know issue
[
#10836
](
https://github.com/kubernetes/kubernetes/issues/10836
)
If
`
IP(S)
`
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