--uid-map problem

12 views
Skip to first unread message

Alexander

unread,
Apr 15, 2025, 11:06:23 AMApr 15
to gVisor Users [Public]
Hello! I am trying running gVisor with `do --uid-map` command, but it always returns an error:
```
$ runsc --rootless --network=host do --force-overlay=false --uid-map=1000:1000:1 bash
invalid value "1000:1000:1" for flag -uid-map: invalid mapping: 1000:1000:1
```
What am I doing wrong?

Ayush Ranjan

unread,
Apr 15, 2025, 12:43:51 PMApr 15
to Alexander, gVisor Users [Public]
I believe the format is --uid-map="1000 1000 1". See https://github.com/google/gvisor/blob/master/runsc/cmd/do.go#L97.

--
You received this message because you are subscribed to the Google Groups "gVisor Users [Public]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gvisor-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gvisor-users/1287e8e1-721a-41f0-b3a1-07d7c69da2d7n%40googlegroups.com.

--
Ayush Ranjan
Reply all
Reply to author
Forward
0 new messages