Re: Docker images

2021-11-17 Thread Marcus
Cool, we are on the same page there. I think I have something working to share soon. I did also consider just installing RPMs or DEBs into a Docker image like a standard install, which might be a good pattern for official releases so we can rely on the same package dependency resolution for all of

Re: Docker images

2021-11-17 Thread Wei ZHOU
Hi Marcus, You can get Marvin by installing cloudstack-marvin package. for example, on ubuntu: 4.16.0.0: https://download.cloudstack.org/ubuntu/dists/focal/4.16/pool/ nightly build: https://download.cloudstack.org/testing/nightly/latest/debian/4.17/ -Wei On Wed, 17 Nov 2021 at 16:10, Marcus w

Re: Docker images

2021-11-17 Thread Marcus
Thanks for the feedback. If you could share which Dockerfile you use and how you use it, I’d appreciate that. I’d like to not disrupt people if I make a change or at least collaborate on the features that should be preserved. I’m leaning toward introducing a new separate Dockerfile first and then

Re: Docker images

2021-11-17 Thread Marcus
That would be great, I can totally see deploying management servers as containers. There may be a few things like attempts to mount NFS secondary storage that may not work but we can look at those. The main hurdle I have with the existing Dockerfile is that it builds in the entire maven cache, MyS

Re: Docker images

2021-11-17 Thread Wei ZHOU
Hi Marcus, Sometimes I use the docker images to build a simulator environment. the docker images are built from tools/docker/Dockerfile I have uploaded some images to https://hub.docker.com/repository/docker/ustcweizhou/cloudstack-simulator The docker images are very large indeed (1.78 GB after c

Re: Docker images

2021-11-17 Thread Marcus
Yes, that makes sense. I’ve been playing with running in simulator mode for non-hypervisor work. The main issue I run into doing it how you describe is that there are linux-specific tests and scripts to successfully build and run. I think the main culprits are hypervisor tests that expect files li

Re: Docker images

2021-11-17 Thread Sina Kashipazha
Hey Marcus, We use docker to build cloudstack packages when we want to build cloudstack for the different target OS. That is our only use case, which happens once in a blue moon :) Kind regards, Sina ‐‐‐ Original Message ‐‐‐ On Tuesday, November 16th, 2021 at 22:30, Marcus wrote: >

Re: Docker images

2021-11-17 Thread Gabriel Bräscher
Hi Marcus, I have never played with the Dockerfile you've mentioned. I need to double-check on it, but I would like to see CloudStack Docker images "officially" supported in order to deploy management nodes (especially for development and testing) and build packages. In terms of using Docker to b

Re: Docker images

2021-11-17 Thread Rohit Yadav
Hi Marcus, I'm not sure about others, I don't use docker so can't reply. I like to build/develop/run/debug management server process outside of docker; just using mvn with an IDE for code-development and for attaching remote socket for breakpoints and debugging. I use mbx to create dev boxes (