You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/11/09 10:46:18 UTC

[GitHub] [camel] essobedo opened a new pull request, #8697: CAMEL-18679: camel-docker - Bind mount support

essobedo opened a new pull request, #8697:
URL: https://github.com/apache/camel/pull/8697

   Fix for https://issues.apache.org/jira/browse/CAMEL-18679
   
   ## Motivation
   
   Up to now, there is no way to bind mount a volume.
   
   ## Modifications
   
   * Use the `DOCKER_BINDS` constant for the operation `containercreate` to specify the binds to apply
   * Update the unit test for the  operation `containercreate` to ensure that the changes are properly applied
   * Fix violations in `CreateContainerCmdHeaderTest`
   
   ## Result
   
   It is now possible to bind mount a volume as follows:
   
   ```
   .setHeader(DockerConstants.DOCKER_BINDS, constant(Bind.parse("/some/host/directory/:/some/guest/directory:ro")))
   .to("docker:containercreate")
   ```
   
   Note that an array of `Bind` can also be provided


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] essobedo commented on pull request #8697: CAMEL-18679: camel-docker - Bind mount support

Posted by GitBox <gi...@apache.org>.
essobedo commented on PR #8697:
URL: https://github.com/apache/camel/pull/8697#issuecomment-1308640286

   The checkstyle issue is not related to these changes, the error is the following:
   
   ```
   Could not find artifact org.apache.camel:camel-mail-microsoft-oauth:jar:3.20.0-SNAPSHOT
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] github-actions[bot] commented on pull request #8697: CAMEL-18679: camel-docker - Bind mount support

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #8697:
URL: https://github.com/apache/camel/pull/8697#issuecomment-1308560315

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :warning: Please note that the changes on this PR may be **tested automatically**. 
   
   If necessary Apache Camel Committers may access logs and test results in the job summaries!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] essobedo merged pull request #8697: CAMEL-18679: camel-docker - Bind mount support

Posted by GitBox <gi...@apache.org>.
essobedo merged PR #8697:
URL: https://github.com/apache/camel/pull/8697


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] github-actions[bot] commented on pull request #8697: CAMEL-18679: camel-docker - Bind mount support

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #8697:
URL: https://github.com/apache/camel/pull/8697#issuecomment-1308630292

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 0 | 1 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org