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

Adding HostConfig to ContainerConfig to fix Bind Volumes #131

Merged
merged 1 commit into from
Jan 20, 2015
Merged

Adding HostConfig to ContainerConfig to fix Bind Volumes #131

merged 1 commit into from
Jan 20, 2015

Conversation

evilbwil
Copy link

@evilbwil evilbwil commented Jan 6, 2015

as to the docker API documentation (1.16) the HostConfig part of the create container call is used to setup a container with bind volumes (binding a host dir to a container dir). As of now the HostConfig is only passed into the start container call (in which it get discarded in docker 1.4).

this needs nirima/jDocker#5

@magnayn
Copy link
Contributor

magnayn commented Jan 20, 2015

Ok - I'm trying to merge in the move to docker-java/docker-java, I'll try this patch when that's done + merge.

magnayn added a commit that referenced this pull request Jan 20, 2015
Adding HostConfig to ContainerConfig to fix Bind Volumes
@magnayn magnayn merged commit 649f50f into jenkinsci:master Jan 20, 2015
@magnayn
Copy link
Contributor

magnayn commented Jan 20, 2015

Ok - I've merged back to docker-java, I'm not sure if it's configuration also requires items from createHostConfig into createContainerConfig -- could you take a look if you have a 1.4 host?

@evilbwil
Copy link
Author

i tested it against:
Docker version 1.4.0, build 4595d4f

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.

3 participants