Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Zaniewski committed Jan 24, 2020
1 parent 000c09f commit b5071e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ docker build --rm -f "Dockerfile" -t piotrzan/kubectl-comp "."
Use `run.ps1` or `run.sh` for windows or linux respectivels

### Linux Example
\# **Run contianer with passthrough to local network**
**Run contianer with passthrough to local network**
`docker run -d --network=host --name=kubectl-host --rm -it piotrzan/kubectl-comp`

\# **Generate raw config from kubeclt on localhost and copy the config to the container**
**Generate raw config from kubeclt on localhost and copy the config to the container**
`kubeclt config view --raw > config
docker cp ./config kubectl-host:./root/.kube`

\# **Attach back to the contianer with kubeconfig file containing info about clusters running on localhost**
**Attach back to the contianer with kubeconfig file containing info about clusters running on localhost**
`docker attach kubectl-host`

## Extending the image
Expand Down

0 comments on commit b5071e0

Please sign in to comment.