Skip to content

Add support for mounting individual files from the host.#2301

Closed
amckinley wants to merge 1 commit intomoby:masterfrom
amckinley:mount-files
Closed

Add support for mounting individual files from the host.#2301
amckinley wants to merge 1 commit intomoby:masterfrom
amckinley:mount-files

Conversation

@amckinley
Copy link
Copy Markdown

this is just a rebase of #1757

This involves docker checking the host filesystem to see whether the mount parameter refers to a file or directory, and so has the sideeffect that missing mount locations on the host are now grounds for an error from docker.  (Previously this went unremarked upon until lxc died, and the error message ended up in the container logs instead of being reported to the terminal that ran docker.)
@tianon
Copy link
Copy Markdown
Member

tianon commented Oct 19, 2013

LGTM but I am not the maintainer here :)

/cc @crosbymichael

@crosbymichael
Copy link
Copy Markdown
Contributor

@amckinley @heavenlyhash

I'm getting a test failure when running docker in docker.

=== RUN TestBindMounts
--- FAIL: TestBindMounts (0.82 seconds)
        container_test.go:1299: Container failed to write to bind mount file

@vieux
Copy link
Copy Markdown
Contributor

vieux commented Nov 5, 2013

@amckinley @heavenlyhash same test error, can you look into this?

@shykes
Copy link
Copy Markdown
Contributor

shykes commented Nov 11, 2013

Hi @amckinley just a gentle reminder that we are waiting on you to look at that test fail. Are you still interested in getting this merged?

Are you aware of any ways this might break reverse compatibility?

Thanks

@daniel-garcia
Copy link
Copy Markdown
Contributor

I've fixed the unit test in my pull request: #2672 .

@crosbymichael
Copy link
Copy Markdown
Contributor

Closing this infavor of #2301

@tianon
Copy link
Copy Markdown
Member

tianon commented Nov 28, 2013

@crosbymichael but this is 2301 :)

@crosbymichael
Copy link
Copy Markdown
Contributor

I mean #2775 sorry, wrong copy and paste of the PR id

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

Successfully merging this pull request may close these issues.

7 participants