Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start container with different command AND different user #75

Closed
1 task done
svettwer opened this issue Oct 5, 2020 · 0 comments
Closed
1 task done

Start container with different command AND different user #75

svettwer opened this issue Oct 5, 2020 · 0 comments
Assignees

Comments

@svettwer
Copy link
Contributor

svettwer commented Oct 5, 2020

As a sakuli user, I want to start the container with a different user -u 1001:1001 and with a different command e.g. bash, so be able to work on mounted volumes with the correct user ID in bash.

Acceptance criteria:

  • it is possible to start the container with -u and altered command e.g. bash

Test case to reproduce:

# start another command than sakuli with another user
docker run \
    --rm \
    -e SAKULI_LICENSE_KEY=${SAKULI_LICENSE_KEY} \
    --shm-size=2G \
    -u 45678:12345 \
    taconsol/sakuli:${1:-latest} \
    "echo success!"

currently results in:

ln: failed to create symbolic link '/testsuite_execution/node_modules/node_modules': Permission denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants