Provide user override option on command line
Allows overriding a user on the command line from the one specified in the docker-compose.yml The added tests verify that a specified user overrides a default user in the docker-compose.yml file. Based on commit f2f01e207b491866349db7168e3d48082d7abdda by @chmouel Signed-off-by: Ian VanSchooten <ian@badgelabsllc.com>
This commit is contained in:
parent
9e9a66f0f8
commit
86b723e227
4 changed files with 32 additions and 0 deletions
4
tests/fixtures/user-composefile/docker-compose.yml
vendored
Normal file
4
tests/fixtures/user-composefile/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
service:
|
||||
image: busybox:latest
|
||||
user: notauser
|
||||
command: id
|
||||
Loading…
Add table
Add a link
Reference in a new issue