Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,3 +442,30 @@ Attempts to run podman result in
#### Solution

One workaround is to disable Secure Boot in your BIOS.

### 19) error creating libpod runtime: there might not be enough IDs available in the namespace

Unable to pull images

#### Symptom

```console
$ podman unshare cat /proc/self/uid_map
0 1000 1
```

#### Solution

```console
$ podman system migrate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won' be enough if there are no IDs added for the user.

I think we should document that additional IDs must be provided through the /etc/subuid and /etc/subgid files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What additional content would you recommend? I can provide the outputs of those files at the very least.

$ cat /etc/subgid 
user:100000:65536
$ cat /etc/subuid
user:100000:65536

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can add the example you just showed, and also warn the user about overlapping ranges. The IDs specified in these file must be unique for each user.

I'd also add a pointer to the subuid(5) and subgid(5) man pages.

```

Original command now returns

```
$ podman unshare cat /proc/self/uid_map
0 1000 1
1 100000 65536
```

Reference [subuid](http://man7.org/linux/man-pages/man5/subuid.5.html) and [subgid](http://man7.org/linux/man-pages/man5/subgid.5.html) man pages for more detail.