mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update integration test userns support with flag name change
`--root` is now `--userns-remap` Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
This commit is contained in:
parent
ea3afdad61
commit
a85e6a4d4a
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ fi
|
|||
# example usage: DOCKER_STORAGE_OPTS="dm.basesize=20G,dm.loopdatasize=200G"
|
||||
extra_params=""
|
||||
if [ "$DOCKER_REMAP_ROOT" ]; then
|
||||
extra_params="--root $DOCKER_REMAP_ROOT"
|
||||
extra_params="--userns-remap $DOCKER_REMAP_ROOT"
|
||||
fi
|
||||
|
||||
if [ -z "$DOCKER_TEST_HOST" ]; then
|
||||
|
|
|
@ -108,7 +108,7 @@ func (d *Daemon) Start(arg ...string) error {
|
|||
)
|
||||
|
||||
if root := os.Getenv("DOCKER_REMAP_ROOT"); root != "" {
|
||||
args = append(args, []string{"--root", root}...)
|
||||
args = append(args, []string{"--userns-remap", root}...)
|
||||
}
|
||||
|
||||
// If we don't explicitly set the log-level or debug flag(-D) then
|
||||
|
|
Loading…
Add table
Reference in a new issue