unige-geohealth / accessmod

accessmod 5 : anisotropic accessibility analysis.
GNU Lesser General Public License v3.0
42 stars 14 forks source link

Issue with Docker #365

Open Syzeyna55 opened 3 years ago

Syzeyna55 commented 3 years ago

Current Behavior

I used to run Docker but it’s impossible to run it at the same time as Virtualbox. To run Docker, I have to check in my windows settings the Virtual Machine Platform (see below image), restart my machine and then it’s works. image

To run virtualbox, i have to uncheck Virtual Machine Platform and restart the machine. If i don’t uncheck this parameter, i will have this message: image

Now i can’t run docker, when i try i have this following message: image

Expected Behavior

Both should run at the same time without an error

Possible Solution

It try some solutions from the these websites, but i haven’t able to solve the problem https://www.tcg.com/blog/yes-you-can-run-docker-and-virtualbox-on-windows-10-home/ https://fredrikaverpil.github.io/2018/03/15/switching-between-docker-and-virtualbox-on-windows-10/

Steps to Reproduce

Try to run Docker in Windows 10

Detailed Description

Maybe the problem come from window 10. It works or not depending on the machine

fxi commented 3 years ago

Hi, thanks for your report.

Are you using windows 10 pro ? It looks like a Windows issue. @carlosrochoa, I remember you managed to run both vbox and docker on your machine or server. Can we have your input on this ? Thanks :)

There is also a version of AccessMod built with docker, running inside VirtualBox. Here is a link to the pre-release 5.7.16-alpha ( version non-upgradable yet, but import / export of projects should work ). Performance comparison of different versions / config : https://github.com/fxi/AccessMod_shiny/issues/360

carlosrochoa commented 3 years ago

I have the same Windows 10Pro machine as @Syzeyna55 (Lenovo ThinkPad X1), and in my case both versions work simultaneously without problem. I suppose the problem might be in the BIOS settings? Virtualization? I could take a look at how they are, because I have not done any modifications there in several years.

Syzeyna55 commented 3 years ago

Effectively i have the same machine and the same Windows than Carlos. To answer to your question Carlos, the Virtualization is turned on but we can compare our parameters on thursday if it's ok for you?

Le lun. 11 oct. 2021 à 12:38, carlosrochoa @.***> a écrit :

I have the same Windows 10Pro machine as @Syzeyna55 https://github.com/Syzeyna55 (Lenovo ThinkPad X1), and in my case both versions work simultaneously without problem. I suppose the problem might be in the BIOS settings? Virtualization? I could take a look at how they are, because I have not done any modifications there in several years.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fxi/AccessMod_shiny/issues/365#issuecomment-939905274, or unsubscribe https://github.com/notifications/unsubscribe-auth/APA7CFXFNCPNRSFMZSEGD4DUGK5A7ANCNFSM5FX2735A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Syzeyna55 commented 3 years ago

I still have my issues in Docker. Al though with Carlos we try to compare our settings in ours laptop.

Le lun. 11 oct. 2021 à 13:01, Zeyna Sy @.***> a écrit :

Effectively i have the same machine and the same Windows than Carlos. To answer to your question Carlos, the Virtualization is turned on but we can compare our parameters on thursday if it's ok for you?

Le lun. 11 oct. 2021 à 12:38, carlosrochoa @.***> a écrit :

I have the same Windows 10Pro machine as @Syzeyna55 https://github.com/Syzeyna55 (Lenovo ThinkPad X1), and in my case both versions work simultaneously without problem. I suppose the problem might be in the BIOS settings? Virtualization? I could take a look at how they are, because I have not done any modifications there in several years.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fxi/AccessMod_shiny/issues/365#issuecomment-939905274, or unsubscribe https://github.com/notifications/unsubscribe-auth/APA7CFXFNCPNRSFMZSEGD4DUGK5A7ANCNFSM5FX2735A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

fxi commented 3 years ago

I'm not sure to understand.

You have the exact same settings ( bios > virtualisation, etc..) and different outcome ?

Syzeyna55 commented 3 years ago

Yes we have the same settings (bios > virtualisation, etc..) but i still have my issue with Docker.

fxi commented 3 years ago

If together you did not find a solution to this issue, it's very unlikely that on the field, offline, on older machines, this solution will be frictionless.

However, this article says that's possible (on Home edition). @carlosrochoa @Syzeyna55, have you tried this ?

@nicolasray, in my current understanding:

So, during the past year, a lot of things happened that add some friction to the docker-fits-all solution.

-> We have to decide which platform, OS type, version and settings we will support, and if we support docker and VirtualBox at the same time.

Syzeyna55 commented 3 years ago

In this article the proposed solutions are:

  1. Go to Virtualbox Settings > Acceleration > select Hyper-V
  2. In the Motherboard tab disable APC I/O
  3. Add an obscure parameter to the .vbox file associated to your VM image: VBoxManage setextradata "" "VBoxInternal/NEM/UseRing0Runloop" 0 I did steps 1 and 2. For step 3 I didn't find the .vbox file and i read in a forum that it's not advised to do step 3 because we don't know the impacts. With Carlos we were able to extract all the information in our machines (Window>type command>in the command prompt>systeminfo) and compare them (see below). The two things that in our opinion show a difference are: (1) the fact that I was using Kaspersky anti-virus while Carlos uses Window Security. I uninstalled Kaspersky but Docker doesn't work again; (2) in Network (Card) Virtualbox is mentioned while I don't have it on my computer For information, I also updated virtualbox and I have the version 6.1.30

See below my system info :

Host Name: LAPTOP-GGL5GHII OS Name: Microsoft Windows 10 Pro OS Version: 10.0.19044 N/A Build 19044 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free Registered Owner: Windows User Registered Organization: Product ID: 00330-51179-97509-AAOEM Original Install Date: 31/10/2020, 10:28:08 System Boot Time: 03/12/2021, 16:13:10 System Manufacturer: LENOVO System Model: 20KH006MMZ System Type: x64-based PC Processor(s): 1 Processor(s) Installed. 01: Intel64 Family 6 Model 142 Stepping 10 GenuineIntel ~1792 Mhz BIOS Version: LENOVO N23ET78W (1.53 ), 09/08/2021 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume2 System Locale: en-us;English (United States) Input Locale: en-gb;English (United Kingdom) Time Zone: (UTC+01:00) Brussels, Copenhagen, Madrid, Paris Total Physical Memory: 16.239 MB Available Physical Memory: 10.465 MB Virtual Memory: Max Size: 22.639 MB Virtual Memory: Available: 16.769 MB Virtual Memory: In Use: 5.870 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: \LAPTOP-GGL5GHII Hotfix(s): 14 Hotfix(s) Installed.

                       [02]: KB4562830
                       [03]: KB4577266
                       [04]: KB4577586
                       [05]: KB4580325
                       [06]: KB4586864
                       [07]: KB4589212
                       [08]: KB4593175
                       [09]: KB4598481
                       [10]: KB5000736
                       [11]: KB5003791
                       [12]: KB5007186
                       [13]: KB5006753
                       [14]: KB5005699

Network Card(s): 6 NIC(s) Installed. 01: Kaspersky Security Data Escort Adapter Connection Name: Ethernet 5 Status: Hardware not present [02]: Fortinet Virtual Ethernet Adapter (NDIS 6.30) Connection Name: Ethernet 6 Status: Media disconnected [03]: Intel(R) Ethernet Connection (4) I219-V Connection Name: Ethernet Status: Media disconnected [04]: Intel(R) Dual Band Wireless-AC 8265 Connection Name: Wi-Fi DHCP Enabled: Yes DHCP Server: 192.168.8.1 IP address(es)

                             [02]: fe80::3162:65c2:c7b:c6cc
                             [03]: fd00:bb1c:bb8f:dc00:e8e8:b0d0:d764:95a9
                             [04]: fd00:bb1c:bb8f:dc00:3162:65c2:c7b:c6cc
                       [05]: Bluetooth Device (Personal Area Network)
                             Connection Name: Bluetooth Network Connection
                             Status:          Media disconnected
                       [06]: Generic Mobile Broadband Adapter
                             Connection Name: Cellular
                             Status:          Media disconnected

Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

See below Carlo's system info

Host Name: LE-NOVO-PC OS Name: Microsoft Windows 10 Pro OS Version: 10.0.19043 N/A Build 19043 OS Manufacturer: Microsoft Corporation OS Configuration: Standalone Workstation OS Build Type: Multiprocessor Free Registered Owner: Windows User Registered Organization: Product ID: 00330-50205-43116-AAOEM Original Install Date: 2020-08-15, 09:59:17 System Boot Time: 2021-11-29, 09:22:06 System Manufacturer: LENOVO System Model: 20KGS0X600 System Type: x64-based PC Processor(s): 1 Processor(s) Installed. 01: Intel64 Family 6 Model 142 Stepping 10 GenuineIntel ~1910 Mhz BIOS Version: LENOVO N23ET78W (1.53 ), 2021-08-09 Windows Directory: C:\WINDOWS System Directory: C:\WINDOWS\system32 Boot Device: \Device\HarddiskVolume1 System Locale: en-us;English (United States) Input Locale: de-ch;German (Switzerland) Time Zone: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna Total Physical Memory: 16,223 MB Available Physical Memory: 8,102 MB Virtual Memory: Max Size: 22,367 MB Virtual Memory: Available: 12,212 MB Virtual Memory: In Use: 10,155 MB Page File Location(s): C:\pagefile.sys Domain: WORKGROUP Logon Server: \LE-NOVO-PC Hotfix(s): 16 Hotfix(s) Installed.

                       [02]: KB4559309
                       [03]: KB4561600
                       [04]: KB4562830
                       [05]: KB4570334
                       [06]: KB4577266
                       [07]: KB4577586
                       [08]: KB4580325
                       [09]: KB4586864
                       [10]: KB4589212
                       [11]: KB4593175
                       [12]: KB4598481
                       [13]: KB5000736
                       [14]: KB5007186
                       [15]: KB5006753
                       [16]: KB5005699

Network Card(s): 8 NIC(s) Installed. 01: VirtualBox Host-Only Ethernet Adapter Connection Name: Ethernet 5 DHCP Enabled: No IP address(es)

                             [02]: fe80::c925:f3c6:1105:4ba0
                       [02]: VirtualBox Host-Only Ethernet Adapter
                             Connection Name: Ethernet 6
                             DHCP Enabled:    No
                             IP address(es)
                             [01]: 169.254.11.49
                             [02]: fe80::54f0:dece:91cc:b31
                       [03]: Fortinet Virtual Ethernet Adapter (NDIS 6.30)
                             Connection Name: Ethernet 3
                             Status:          Media disconnected
                       [04]: Fortinet SSL VPN Virtual Ethernet Adapter
                             Connection Name: Ethernet 7
                             Status:          Media disconnected
                       [05]: Intel(R) Ethernet Connection (4) I219-LM
                             Connection Name: Ethernet
                             Status:          Media disconnected
                       [06]: Intel(R) Dual Band Wireless-AC 8265
                             Connection Name: Wi-Fi
                             DHCP Enabled:    Yes
                             DHCP Server:     192.168.0.1
                             IP address(es)
                             [01]: 192.168.0.172
                             [02]: fe80::1c59:bfc7:8962:c314
                       [07]: Bluetooth Device (Personal Area Network)
                             Connection Name: Bluetooth Network Connection
                             Status:          Media disconnected
                       [08]: TAP-ProtonVPN Windows Adapter V9
                             Connection Name: Local Area Connection 2
                             Status:          Media disconnected

Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.

fxi commented 2 years ago

Thank you.