-
Notifications
You must be signed in to change notification settings - Fork 47
Appsody does not appear to support enterprise Windows users #24
Comments
Couple of questions:
|
Hi @chilanti, Re: 1, seems not to make a difference (made a couple assumptions on command format, let me know if I got anything wrong):
Re 2: We had considered this, and I believe it would work. But IMHO, asking the user to grant permissions to their home directory to another local user account feels like a big ask... it would be equivalent to (or at least within an order of magnitude of) asking a Linux/Mac user to |
Hi - thanks for trying this out. Let's try another thing if you have time and patience. I see from the logs that appsody now fails to mount "the controller" - and that's because the config file is in a different spot, but the controller has been put under the home directory (or it's still expected to be there). So - to try and circumvent that - please try this:
|
Notice the updates above - the |
No problem, and I can report that those steps do successfully work as a workaround:
( @chilanti ) |
Thanks - we'll put this issue on the radar screen for future work - and document these steps. |
Even after applying the workaround from https://appsody.dev/docs/faq there are still problems with the Java/Maven based stacks as these also specify APPSODY_MOUNTS that map to the users home directory e.g. |
Signed-off-by: Bazif Khan <[email protected]>
Windows enterprise users will tend to be using Windows' Azure Active Directory (AAD) enterprise login. For example, this mechanism is utilized by the standard IBM Windows image, used by all IBMers with Thinkpads. (Despite the name, it is not related to MS' Azure cloud infrastructure.)
Unfortunately, Docker for Windows doesn't support bind mounts using Active-Directory-managed accounts (eg sharing local directories into Docker containers with any AAD accounts):
The workaround, described above, is to create a second Local account on the machine, and to use those credentials when sharing your drive for a Docker bind mount. However, and this is the issue: that second Local account will not have access to the
c:\Users\(your AAD account name)
directory.Since Appsody uses
c:\Users\(your AAD account name)\.appsody
as the settings directory, Windows enterprise users will be DOA with Appsody.We encountered this same issue on the Eclipse Codewind project, and have instead opted to use a directory outside of
c:\Users
to store our settings data (in our case,c:\codewind-workspace
)To Reproduce:
appsody run
.Docker Desktop - Share drive
,Docker want to access drive C:\. Do you want to share it?
dialog message will appear.appsody run
again, and this time specify the new user credentials to the Share dialog.Appsody will now progress further, BUT when attempting to bind mount the
.appsody
directory, it will fail:This error message is correct: The user account that is used to provide file access to Docker does not have access to this directory.
The text was updated successfully, but these errors were encountered: