Skip to content

Commit

Permalink
Merge pull request #8064 from afbjorklund/podman-remote-docs
Browse files Browse the repository at this point in the history
Docs: podman-remote is also called podman
  • Loading branch information
medyagh authored May 11, 2020
2 parents 7e3da0f + fb3824e commit c21b009
Showing 1 changed file with 37 additions and 4 deletions.
41 changes: 37 additions & 4 deletions site/content/en/docs/handbook/pushing.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,21 +124,54 @@ For more information, see:

---

## 3. Pushing directly to in-cluster CRIO. (podman-env)
## 3. Pushing directly to in-cluster CRI-O. (podman-env)

This is simmilar to docker-env but only for cri-o runtime.
To push directly to CRIO, configure podman client on your mac/linux host using the podman-env command in your shell:
This is similar to docker-env but only for CRI-O runtime.
To push directly to CRI-O, configure podman client on your host using the podman-env command in your shell:

```shell
eval $(minikube podman-env)
```

You should now be able to use podman on the command line on your host mac/linux machine talking to the podman service inside the minikube VM:
You should now be able to use podman client on the command line on your host machine talking to the podman service inside the minikube VM:

{{% tabs %}}
{{% tab "Linux" %}}

```shell
podman-remote help
```

{{% pageinfo color="info" %}}
Note: On Linux the remote client is called "podman-remote", while the local program is called "podman".
{{% /pageinfo %}}

{{% /tab %}}
{{% tab "macOS" %}}

```shell
podman help
```

{{% pageinfo color="info" %}}
Note: On macOS the remote client is called "podman", since there is no local "podman" program available.
{{% /pageinfo %}}

{{% /tab %}}
{{% tab "Windows" %}}

```shell
podman help
```

{{% pageinfo color="info" %}}
Note: On Windows the remote client is called "podman", since there is no local "podman" program available.
{{% /pageinfo %}}

{{% /tab %}}
{{% /tabs %}}


Remember to turn off the `imagePullPolicy:Always` (use `imagePullPolicy:IfNotPresent` or `imagePullPolicy:Never`), as otherwise Kubernetes won't use images you built locally.

---
Expand Down

0 comments on commit c21b009

Please sign in to comment.