That bug seems to point to the network namespace. Did you trying --net=host?
Finally found that is works when adding -v /lib/modules:/lib/modules
On Jul 11, 2014 5:45 AM, "Daniel Ankers" <md1...@md1clv.com> wrote:
>
> On 11 July 2014 13:35, Denis Jannot <dja...@gmail.com> wrote:
>>
>> Finally found that is works when adding -v /lib/modules:/lib/modules
>>
> Hi Denis,
> I did it a different way and did "modprobe iscsi_tcp" from CoreOS.
You can also add it to /etc/modules-load.d/something.conf
On Jul 11, 2014 2:21 AM, "Daniel Ankers" <md1...@md1clv.com> wrote:
>
> On 10 July 2014 17:31, Darren Shepherd <darren.s...@gmail.com> wrote:
>>
>> That bug seems to point to the network namespace. Did you trying --net=host?
>
>
> I've just tried that successfully. Thanks!
>
> So the caveats for mounting iscsi from a container are:
> 1) The container must be run in privilege mode
> 2) The container needs to be run with --net=host
> 3) On my Centos container the iscsi drive came up as /dev/sda. This did not exist in /dev on the container so I had to manually create the entries with mknod
To avoid the mknod you can bind the hosts /dev into the container
Dan,
How have you created /dev/sda (will need in my case) ?
Thanks
Denis
Dan,
How have you created /dev/sda (will need in my case) ?
Thanks
Denis
Thanks