Skip to content

Make lxc driver rbind all user specified mounts.#7295

Merged
crosbymichael merged 2 commits intomoby:masterfrom
vishh:rbind
Aug 1, 2014
Merged

Make lxc driver rbind all user specified mounts.#7295
crosbymichael merged 2 commits intomoby:masterfrom
vishh:rbind

Conversation

@vishh
Copy link
Contributor

@vishh vishh commented Jul 29, 2014

This is required for running cadvisor with lxc driver.

Fixes #3782

@vishh
Copy link
Contributor Author

vishh commented Jul 29, 2014

Ping @dineshs-altiscale.

@SvenDowideit
Copy link
Contributor

Can you guys write tests for this, so someone that creates a new driver knows they're getting it right, that we know it works the same way for libcontainer and lxc, and no-one breaks it in future without knowing that it matters?

@vishh
Copy link
Contributor Author

vishh commented Jul 29, 2014

@SvenDowideit: Good suggestion. I went ahead and added an integration test.
Ping @crosbymichael

@crosbymichael
Copy link
Contributor

@vishh the integration tests should go in integration-cli not integration. Those are old and nasty and we are trying to port all those tests over to the new framework.

vishh added 2 commits July 30, 2014 02:23
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <[email protected]> (github: vishh)
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <[email protected]> (github: vishh)
@vishh
Copy link
Contributor Author

vishh commented Jul 30, 2014

@crosbymichael Done. PTAL

@crosbymichael
Copy link
Contributor

LGTM

@crosbymichael
Copy link
Contributor

ping @dineshs-altiscale please review

@dineshs-altiscale
Copy link
Contributor

sorry guys -- LGTM

crosbymichael pushed a commit that referenced this pull request Aug 1, 2014
Make lxc driver rbind all user specified mounts.
@crosbymichael crosbymichael merged commit 5d2a62d into moby:master Aug 1, 2014
@SvenDowideit
Copy link
Contributor

nice! I'm starting to use the integration-cli tests to confirm how i think Docker works, so this help me a lot.

@thaJeztah thaJeztah added the area/volumes Volumes label Jun 22, 2024
@thaJeztah thaJeztah added this to the 1.2.0 milestone Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recursive bind mounting

5 participants