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
c377e59e
Commit
c377e59e
authored
Jul 13, 2015
by
Tim Hockin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11193 from brendandburns/tunnel
Update single node docker guide to v0.21.2
parents
32699e87
b0fd2148
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docker.md
docs/getting-started-guides/docker.md
+2
-2
No files found.
docs/getting-started-guides/docker.md
View file @
c377e59e
...
@@ -44,7 +44,7 @@ docker run --net=host -d gcr.io/google_containers/etcd:2.0.9 /usr/local/bin/etcd
...
@@ -44,7 +44,7 @@ docker run --net=host -d gcr.io/google_containers/etcd:2.0.9 /usr/local/bin/etcd
### Step Two: Run the master
### Step Two: Run the master
```
sh
```
sh
docker run
--net
=
host
-d
-v
/var/run/docker.sock:/var/run/docker.sock gcr.io/google_containers/hyperkube:v0.
18
.2 /hyperkube kubelet
--api_servers
=
http://localhost:8080
--v
=
2
--address
=
0.0.0.0
--enable_server
--hostname_override
=
127.0.0.1
--config
=
/etc/kubernetes/manifests
docker run
--net
=
host
-d
-v
/var/run/docker.sock:/var/run/docker.sock gcr.io/google_containers/hyperkube:v0.
21
.2 /hyperkube kubelet
--api_servers
=
http://localhost:8080
--v
=
2
--address
=
0.0.0.0
--enable_server
--hostname_override
=
127.0.0.1
--config
=
/etc/kubernetes/manifests
```
```
This actually runs the kubelet, which in turn runs a
[
pod
](
../pods.md
)
that contains the other master components.
This actually runs the kubelet, which in turn runs a
[
pod
](
../pods.md
)
that contains the other master components.
...
@@ -52,7 +52,7 @@ This actually runs the kubelet, which in turn runs a [pod](../pods.md) that cont
...
@@ -52,7 +52,7 @@ This actually runs the kubelet, which in turn runs a [pod](../pods.md) that cont
### Step Three: Run the service proxy
### Step Three: Run the service proxy
*Note, this could be combined with master above, but it requires --privileged for iptables manipulation*
*Note, this could be combined with master above, but it requires --privileged for iptables manipulation*
```
sh
```
sh
docker run
-d
--net
=
host
--privileged
gcr.io/google_containers/hyperkube:v0.
18
.2 /hyperkube proxy
--master
=
http://127.0.0.1:8080
--v
=
2
docker run
-d
--net
=
host
--privileged
gcr.io/google_containers/hyperkube:v0.
21
.2 /hyperkube proxy
--master
=
http://127.0.0.1:8080
--v
=
2
```
```
### Test it out
### Test it out
...
...
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