Skip to content

Commit

Permalink
Update kind-deploy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adodon2go authored Oct 16, 2023
1 parent 86ba036 commit 44ba157
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/articles/kind-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,10 @@ EOF
Connect the registry to the "kind" network so that it can communicate with other resources in the same network.

```shell
{% raw %}
# check whether already connected to the network
if [ "$(docker inspect -f='{{json .NetworkSettings.Networks.kind}}' \
"${reg_name}")" = 'null' ]; then
if [ "$(docker inspect -f='{{json .NetworkSettings.Networks.kind}}' "${reg_name}")" = 'null' ]; then
docker network connect "kind" "${reg_name}"
fi
{% endraw %}
```

### Step 5: Document the local registry
Expand Down Expand Up @@ -215,4 +212,4 @@ docker rm kind-registry
{% endraw %}
```

</details>
</details>

0 comments on commit 44ba157

Please sign in to comment.