Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

run --user & --group are not being set #258

Closed
tfiduccia opened this issue May 22, 2019 · 2 comments
Closed

run --user & --group are not being set #258

tfiduccia opened this issue May 22, 2019 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tfiduccia
Copy link
Contributor

Version - v0.1.1-rc1

Steps:

  1. rio run -n tuser --user 10 --group 5 nginx
  2. rio exec default/tuser id
  3. rio inspect default/tuser:v0

Results: user nor group id has been set

@tfiduccia tfiduccia added the bug Something isn't working label May 22, 2019
@StrongMonkey
Copy link
Contributor

Will be fixed in #342

@rancher-max
Copy link
Contributor

Working in v0.6.0-alpha.2

Result snippet:

...
spec:
  image: nginx
  imagePullPolicy: IfNotPresent
  ports:
  - port: 80
    protocol: HTTP
    targetPort: 8080
  runAsGroup: 5
  runAsUser: 10
  weight: 100
...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants