Skip to content

Commit

Permalink
Merge pull request containers#10749 from TomSweeneyRedHat/dev/tsweene…
Browse files Browse the repository at this point in the history
…y/cni2.2.1_doc

Add CNI rootless networking troubleshooting for v2.2.1
  • Loading branch information
openshift-merge-robot authored Jun 30, 2021
2 parents 78a3605 + 6d37e03 commit 5ebd277
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ When rootless Podman attempts to execute a container on a non exec home director

#### Symptom

If you are running Podman or buildah on a home directory that is mounted noexec,
If you are running Podman or Buildah on a home directory that is mounted noexec,
then they will fail. With a message like:

```
Expand Down Expand Up @@ -726,3 +726,23 @@ And then re-add the connection (removing the old one if necessary):
And now this should work:

`podman-remote info`

---
### 28) Rootless CNI networking fails in RHEL with Podman v2.2.1 to v3.0.1.

A failure is encountered when trying to use networking on a rootless
container in Podman v2.2.1 through v3.0.1 on RHEL. This error does not
occur on other Linux Distributions.

#### Symptom

A rootless container is created using a CNI network, but the `podman run` command
returns an error that an image must be built.

#### Solution

In order to use a CNI network in a rootless container on RHEL,
an Infra container image for CNI-in-slirp4netns must be created. The
instructions for building the Infra container image can be found for
v2.2.1 [here](https://github.com/containers/podman/tree/v2.2.1-rhel/contrib/rootless-cni-infra),
and for v3.0.1 [here](https://github.com/containers/podman/tree/v3.0.1-rhel/contrib/rootless-cni-infra).

0 comments on commit 5ebd277

Please sign in to comment.