-
Notifications
You must be signed in to change notification settings - Fork 8
Virtualbox requirements #12
Comments
Here is the image: https://training.repronim.org/repronim-training.ova (it's ~2GB in size) The password is same as the username: vagrant Installed:
|
@mjtravers - a few observations:
|
@yarikoptic - can you try the vm? i can't build with singularity installed from neurodebian either. i get a "implausibly old timestamp" error. |
actually the more pertinent error is: |
@satra - I tested quickly docker within the vm, and it works fine. I also had no problem with saving files to a mounted directory |
@djarecka - the error comes from singularity - not docker. |
does docker save the files with the right permissions? |
yes, i was just referring to our discussion earlier today |
@satra - ok, i see what you mean... no, the permission is not correct, can work on docker groups tomorrow |
I am unable to reproduce the singularity error. I am running these build commands taken from the singularity docs page:
What's the singularity build command being run that is failing with errors? However, I am getting errors when building a Docker image, though. I cleaned up the packer script I am using for the build and have an updated the image that runs Docker build cleanly for me: |
@mjtravers - building from a pre-built image works but not when bootstrapping from docker: try a
and do |
I'll take a look. |
thanks - downloading now |
Could it be simply an issue of bootstrapping being depreciated? |
yes, but you can |
worst case, i will compile from source and put some debug statements before the error is generated. |
Ah, I see... digging through docs now |
The new ova file may work for you. I was able to build using your instructions above. |
importing now. |
(crossing fingers) |
@satra - it works for me, have a similar output as @mjtravers |
I am running the VM in VirtualBox 5.2.12 on an Ubuntu 16.04 machine. |
I updated my VB yesterday: |
casting my vote: works for me (proof: http://www.onerussian.com/tmp/gkrellShoot_05-30-18_120709.png) |
did anyone mount an outside folder using shared folders? |
@satra i didn't |
@satra did not |
it works when I changed CPU |
For what it's worth, I have @satra 's error from above... |
that worked for now. i did try to debug the error i was having and the pointers were all the direction of some form of memory corruption. examples of weird string substitution happening in the shell: |
@mjtravers, @dnkennedy - i cannot seem to copy and paste from my host into virtualbox and vice versa. i haven't used virtualbox in a while, any ideas? |
@satra Normally, selecting "Devices -> Shared clipboard -> bidirectional" from the VirtualBox menu does the trick but I think the VBoxGuestAdditions is not installed properly. Let me tinker and get back to you. |
I was just going to ask the same thing about cut and paste. I know it did work on the Savoy Course VM... |
@satra @dnkennedy https://training.repronim.org/repronim-training.ova To get the VirtualBox Guest Additions working, I needed to make some significant changes to how the baseline Ubuntu 16.04 desktop image is built. Here are the resulting changes to the VM:
I set the default memory size to 2048MB. Is that enough? I was pondering setting it to 4096MB but then thought it best to keep it low as possible and let users increase if desired. |
Yay: the Singularity example and the copy & paste work for me!!! thanks, @mjtravers |
@mjtravers - Singularity and copy&paste works for me too, thank you! It's a bit funny to have 2 types of copy&paste (OSX and Linux) on one laptop, but will get used to :) |
@mjtravers - unfortunately i am still getting the darn error! |
@satra The copy&paste error or the Singularity error? |
singularity error - my old tricks didn't work - i'll try one more thing. |
@mjtravers - my latest solution.
|
well that was short lived!! i again cannot create the image! quite fed up right now! |
@satra For web-based, I will look into creating an AWS image that trainees can use. It will mean the trainee will need access to an AWS subscription that will pay for the EC2 time used. Did you have another web-based solution in mind? Also, so as not to duplicate work, I am installing Miniconda in the VM to set up the requirements.txt package list JB sent on Friday. |
@mjtravers - if you install python-virtualenv and python-pip at the system level i think we can use that to create JB's environment - that will reduce the size a little bit. miniconda will pull in too many things. |
@mjtravers - regarding the web-based - ec2 is fine. we would support it via repronim. (@dnkennedy). |
I've just realized that when I'm running VM, my local Docker is crashing, could be related to the issue reported by @satra |
@satra @jbpoline JB's requirements.txt file has versions attached to the packages which are putting some constraints on the install, which is why I started working with Miniconda. For example, ipython 6.1.0 requires python >= 3.3. Virtualenv (from what I can tell so far, not very familiar with it) will need the additional python version installed in the VM system outside venv and alongside the existing python 2.7. Miniconda handles additional python versions within the conda environments themselves which is a lot easier to manage and does not require the system installation of new python versions. The Miniconda baseline footprint doesn't appear to be very large. Are you thinking of the full Anaconda environment? Here are the baseline packages installed by Miniconda for a new environment:
Another way to approach the problem is: JB, how attached are you to the versions specified in your requirements.txt file? Could we simply pull all the versions that work with Python 2.7? |
@mjtravers - in that case just use miniconda. |
@satra - Whew. Thanks! :) @satra @djarecka Both of you are on Mac? Did you install Docker via "Docker for Mac" or "Docker Toolbox"? I've been digging into Docker's use of its own VirtualBox as a possible cause to the Docker/Singularity problem and was wondering how Docker was installed on your systems. https://docs.docker.com/docker-for-mac/docker-toolbox/ One tidbit that caught my eye was: "Docker for Mac uses HyperKit instead of Virtual Box." |
@mjtravers - we both have Mac and we both have Docker for Mac |
@djarecka Ah, okay. Does not seem relevant then. |
@mjtravers - i restarted, removed all data from docker, and it's been working for the last 15min. So maybe it was just a coincidence, but don't remember having this problem with Docker... |
@mjtravers - finally tracked this down: we will fix this in the container. but let's install dos2unix (just in case :) ) |
@satra Will make sure dos2unix is in the VM. Wow, that took some serious digging to locate |
sorry I'm seeing this only now - I think any version above these would be
fine - I just need to test my notebook but very confident there will be no
issues ..
cheers
JB
…On Mon, Jun 4, 2018 at 1:43 PM, Matt Travers ***@***.***> wrote:
@satra <https://github.com/satra> @jbpoline <https://github.com/jbpoline>
JB's requirements.txt file has versions attached to the packages which are
putting some constraints on the install, which is why I started working
with Miniconda. For example, ipython 6.1.0 requires python >= 3.3.
Virtualenv (from what I can tell so far, not very familiar with it) will
need the additional python version installed in the VM system outside venv
and alongside the existing python 2.7. Miniconda handles additional python
versions within the conda environments themselves which is a lot easier to
manage and does not require the system installation of new python versions.
The Miniconda baseline footprint doesn't appear to be very large. Are you
thinking of the full Anaconda environment? Here are the baseline packages
installed by Miniconda for a new environment:
-
certifi: 2016.2.28-py36_0
-
openssl: 1.0.2l-0
-
pip: 9.0.1-py36_1
-
python: 3.6.2-0
-
readline: 6.2-2
-
setuptools: 36.4.0-py36_1
-
sqlite: 3.13.0-0
-
tk: 8.5.18-0
-
wheel: 0.29.0-py36_0
-
xz: 5.2.3-0
-
zlib: 1.2.11-0
Another way to approach the problem is: JB, how attached are you to the
versions specified in your requirements.txt file? Could we simply pull all
the versions that work with Python 2.7?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAQyaMwSo6QBKuPlqZ1kPnqv2r0dN3qcks5t5XHbgaJpZM4UK5DX>
.
|
closing in favor of #15 |
@mjtravers @yarikoptic - add as necessary
wonder if the following should be installed or done through containers as well
The text was updated successfully, but these errors were encountered: