You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Josef Cacek (JIRA)" <ji...@apache.org> on 2016/05/24 18:06:12 UTC

[jira] [Commented] (JCLOUDS-1118) Adding linux capabilities doesn't work in Docker

    [ https://issues.apache.org/jira/browse/JCLOUDS-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298638#comment-15298638 ] 

Josef Cacek commented on JCLOUDS-1118:
--------------------------------------

PR sent (together with JCLOUDS-1117) - https://github.com/jclouds/jclouds-labs/pull/274

> Adding linux capabilities doesn't work in Docker
> ------------------------------------------------
>
>                 Key: JCLOUDS-1118
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1118
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs
>    Affects Versions: 2.0.0
>            Reporter: Josef Cacek
>              Labels: docker
>
> Adding capabilities through `org.jclouds.docker.domain.Config.Builder.capAdd(...)` doesn't work. IMO it's because the configuration should be placed in {{HostConfig}} class instead.
> *Suggested fix*
> Move fields {{capAdd}} and {{capDrop}} from {{Config}} class to {{HostConfig}} class.
> https://docs.docker.com/engine/reference/api/docker_remote_api_v1.22/#create-a-container



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)