Skip to content

Commit 5ebd277

Browse files
Merge pull request containers#10749 from TomSweeneyRedHat/dev/tsweeney/cni2.2.1_doc
Add CNI rootless networking troubleshooting for v2.2.1
2 parents 78a3605 + 6d37e03 commit 5ebd277

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

troubleshooting.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ When rootless Podman attempts to execute a container on a non exec home director
156156

157157
#### Symptom
158158

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

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

728728
`podman-remote info`
729+
730+
---
731+
### 28) Rootless CNI networking fails in RHEL with Podman v2.2.1 to v3.0.1.
732+
733+
A failure is encountered when trying to use networking on a rootless
734+
container in Podman v2.2.1 through v3.0.1 on RHEL. This error does not
735+
occur on other Linux Distributions.
736+
737+
#### Symptom
738+
739+
A rootless container is created using a CNI network, but the `podman run` command
740+
returns an error that an image must be built.
741+
742+
#### Solution
743+
744+
In order to use a CNI network in a rootless container on RHEL,
745+
an Infra container image for CNI-in-slirp4netns must be created. The
746+
instructions for building the Infra container image can be found for
747+
v2.2.1 [here](https://github.com/containers/podman/tree/v2.2.1-rhel/contrib/rootless-cni-infra),
748+
and for v3.0.1 [here](https://github.com/containers/podman/tree/v3.0.1-rhel/contrib/rootless-cni-infra).

0 commit comments

Comments
 (0)