I was able to tackle this using a symlink:
server_name=${WSO2_SERVER}-${WSO2_SERVER_VERSION}
echo "Moving carbon server from /mnt/${server_name} to ${server_path}..."
ln -s "/mnt/${server_name}" "${server_path}/${server_name}"
On Fri, Jun 3, 2016 at 7:40 AM, Imesh Gunaratne <[email protected]> wrote:
> FYI:
> https://github.com/docker/docker/issues/9572
>
> On Fri, Jun 3, 2016 at 7:32 AM, Imesh Gunaratne <[email protected]> wrote:
>
>> Hi Devs,
>>
>> I see the below error in CentOS 7:
>>
>> [vagrant@a1 images]$ docker run -it wso2esb-manager:4.9.0
>> Creating directory /mnt/172.17.0.2...
>> Moving carbon server from /mnt/wso2esb-4.9.0 to /mnt/172.17.0.2...
>> mv: cannot remove '/mnt/wso2esb-4.9.0/INSTALL.txt': No such file or
>> directory
>> mv: cannot remove '/mnt/wso2esb-4.9.0/LICENSE.txt': No such file or
>> directory
>> mv: cannot remove '/mnt/wso2esb-4.9.0/README.txt': No such file or
>> directory
>> mv: cannot remove '/mnt/wso2esb-4.9.0/bin/README.txt': No such file or
>> directory
>>
>> [vagrant@a1 images]$ uname -rm
>> 3.10.0-327.13.1.el7.x86_64 x86_64
>>
>> [vagrant@a1 images]$ docker version
>> Client:
>> Version: 1.11.0
>> API version: 1.23
>> Go version: go1.5.4
>> Git commit: 4dc5990
>> Built: Wed Apr 13 18:40:36 2016
>> OS/Arch: linux/amd64
>>
>> Server:
>> Version: 1.11.0
>> API version: 1.23
>> Go version: go1.5.4
>> Git commit: 4dc5990
>> Built: Wed Apr 13 18:40:36 2016
>> OS/Arch: linux/amd64
>>
>> As it looks like this is a Linux kernel bug, and it has been fixed in
>> 3.18.0-11.12:
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1410480
>>
>> I tried upgrading the kernel but then Docker stops working. Any thoughts?
>>
>> Thanks
>>
>> --
>> *Imesh Gunaratne*
>> Software Architect
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: https://medium.com/@imesh TW: @imesh
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> *Imesh Gunaratne*
> Software Architect
> WSO2 Inc: http://wso2.com
> T: +94 11 214 5345 M: +94 77 374 2057
> W: https://medium.com/@imesh TW: @imesh
> Lean . Enterprise . Middleware
>
>
--
*Imesh Gunaratne*
Software Architect
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: https://medium.com/@imesh TW: @imesh
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev