Sign in to follow this  
segator

Xpenology runing on docker

Recommended Posts

Yes exactly is what you are thinking!! But there are some traps

 

Yes we can run xpenology on docker fully functional but inside a KVM VM but works pretty fine really.

Right now what I have is a simple docker that execute an instance of xpenology (clean, so the page of installation is shown to install)

I thinking which features do you think could be interesting for you?

give support to docker volumes inside the xpenology?

-v /myhost/data:/Volume1/myshare ?
Please let me know what do you think could be interesting for you.

 

when I have a more stable version I will publish to github for all of you.

The image is based in an image a Did for my work (W2012 inside docker) but I reused to use for xpenology

 

I Did the image because I wanted pretty UI of xpenology + Unraid Disk management(almost always spin down the HDD)

You can share your unraid data using NFS/glusterFS and (if someone add 9p virtio driver to the synoboot image) 9p

 

 

Edited by segator
  • Like 3

Share this post


Link to post
Share on other sites
On 8/31/2017 at 2:48 AM, segator said:

Yes exactly is what you are thinking!! But there are some traps

 

Yes we can run xpenology on docker fully functional but inside a KVM VM but works pretty fine really.

Right now what I have is a simple docker that execute an instance of xpenology (clean, so the page of installation is shown to install)

I thinking which features do you think could be interesting for you?

give support to docker volumes inside the xpenology?

-v /myhost/data:/Volume1/myshare ?
Please let me know what do you think could be interesting for you.

 

when I have a more stable version I will publish to github for all of you.

The image is based in an image a Did for my work (W2012 inside docker) but I reused to use for xpenology

 

I Did the image because I wanted pretty UI of xpenology + Unraid Disk management(almost always spin down the HDD)

You can share your unraid data using NFS/glusterFS and (if someone add 9p virtio driver to the synoboot image) 9p

 

 

That sound excellent.

 

I'm running  Proxmox on Gen8 and create zfs as data pool, if xpenology can run in LXC container, that will good to avoid create VM.

Could you to share your code in github?

 

Share this post


Link to post
Share on other sites
On 8/31/2017 at 2:48 AM, segator said:

Yes exactly is what you are thinking!! But there are some traps

 

Yes we can run xpenology on docker fully functional but inside a KVM VM but works pretty fine really.

Right now what I have is a simple docker that execute an instance of xpenology (clean, so the page of installation is shown to install)

I thinking which features do you think could be interesting for you?

give support to docker volumes inside the xpenology?

-v /myhost/data:/Volume1/myshare ?
Please let me know what do you think could be interesting for you.

 

when I have a more stable version I will publish to github for all of you.

The image is based in an image a Did for my work (W2012 inside docker) but I reused to use for xpenology

 

I Did the image because I wanted pretty UI of xpenology + Unraid Disk management(almost always spin down the HDD)

You can share your unraid data using NFS/glusterFS and (if someone add 9p virtio driver to the synoboot image) 9p

 

 

 

 

Hi Segator,

 

I search in github, and I guess this should what you mentioned?

https://github.com/segator/xpenology-docker 

Share this post


Link to post
Share on other sites
1 hour ago, laris said:

That sound excellent.

 

I'm running  Proxmox on Gen8 and create zfs as data pool, if xpenology can run in LXC container, that will good to avoid create VM.

Could you to share your code in github?

 

6
9

 

Quote

I think you don't understand how works, this docker run internally a KVM VM with xpenology so it doesn't have any sense for you use a LXC container with KVM inside if you are already using proxmox KVM VM's

3

 

Edited by segator

Share this post


Link to post
Share on other sites
Just now, segator said:

Yes, is this one

 

Thank you! I will try it.

But maybe VM will better maybe. I will try to compare.

Share this post


Link to post
Share on other sites

Hi @segator

 

Did you test the latest junboot 103b for DSM 62?

I complied the 9p kernel module but failed to mount host shared dir in proxmox.

And also some virtio Unknown symbol dmesg error

 

root@DSMPVE:/sys/class# dmesg|grep virtio
[   11.462819] virtio_pci: Unknown symbol vring_transport_features (err 0)
[   11.462831] virtio_pci: Unknown symbol vring_interrupt (err 0)
[   11.462837] virtio_pci: Unknown symbol vring_new_virtqueue (err 0)
[   11.462848] virtio_pci: Unknown symbol vring_del_virtqueue (err 0)
[   11.464985] virtio_mmio: Unknown symbol vring_transport_features (err 0)
[   11.464996] virtio_mmio: Unknown symbol vring_interrupt (err 0)
[   11.465004] virtio_mmio: Unknown symbol vring_new_virtqueue (err 0)
[   11.465039] virtio_mmio: Unknown symbol vring_del_virtqueue (err 0)
[   11.467112] virtio_balloon: Unknown symbol virtqueue_get_buf (err 0)
[   11.467118] virtio_balloon: Unknown symbol virtqueue_add_outbuf (err 0)
[   11.467124] virtio_balloon: Unknown symbol virtqueue_kick (err 0)
[   11.467133] virtio_balloon: Unknown symbol balloon_mapping_alloc (err 0)
[   11.469214] virtio_net: Unknown symbol virtqueue_enable_cb_prepare (err 0)
[   11.469221] virtio_net: Unknown symbol virtqueue_detach_unused_buf (err 0)
[   11.469226] virtio_net: Unknown symbol virtqueue_poll (err 0)
[   11.469243] virtio_net: Unknown symbol virtqueue_get_vring_size (err 0)
[   11.469250] virtio_net: Unknown symbol virtqueue_disable_cb (err 0)
[   11.469257] virtio_net: Unknown symbol virtqueue_add_sgs (err 0)
[   11.469263] virtio_net: Unknown symbol virtqueue_get_buf (err 0)
[   11.469268] virtio_net: Unknown symbol virtqueue_add_outbuf (err 0)
[   11.469274] virtio_net: Unknown symbol virtqueue_kick (err 0)
[   11.469280] virtio_net: Unknown symbol virtqueue_add_inbuf (err 0)
[   11.469287] virtio_net: Unknown symbol virtqueue_enable_cb_delayed (err 0)
[  331.115294] 9pnet_virtio: no channels available


   11.473865] 9pnet: Installing 9P2000 support
[   11.478168] 9p: Installing v9fs 9p2000 file system support

 

Share this post


Link to post
Share on other sites

I solved.

 

adjust the kernel module load sequence like here:
 

EXTRA_MODULES="mii mdio libphy atl1 atl1e atl1c alx uio ipg jme skge sky2 ptp_pch pch_gbe qla3xxx qlcnic qlge netxen_nic sfc e1000 pcnet32 vmxnet3 bnx2 libcrc32c bnx2x cnic e1000e igb ixgbe r8101 r8168 r8169 tg3 usbnet ax88179_178a button evdev ohci-hcd 



virtio virtio_ring virtio_pci virtio_mmio virtio_balloon virtio_net virtio_blk virtio_scsi virtio_console 9pnet 9pnet_virtio fscache 9p aufs"

 

but still have some issue with other modules

root@DSMPVE:~# dmesg|grep virtio
[   14.131531] virtio-pci 0000:00:11.0: setting latency timer to 64
[   14.136262] virtio_balloon: Unknown symbol balloon_mapping_alloc (err 0)
[   14.145472] virtio_console: Unknown symbol hvc_remove (err 0)
[   14.145487] virtio_console: Unknown symbol hvc_kick (err 0)
[   14.145495] virtio_console: Unknown symbol hvc_alloc (err 0)
[   14.145503] virtio_console: Unknown symbol hvc_poll (err 0)
[   14.145513] virtio_console: Unknown symbol hvc_instantiate (err 0)
[   14.145521] virtio_console: Unknown symbol __hvc_resize (err 0)
[   14.150363] virtio-pci 0000:00:11.0: irq 44 for MSI/MSI-X
[   14.150382] virtio-pci 0000:00:11.0: irq 45 for MSI/MSI-X

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this