Windows Docker Install

Having trouble with installing bitwarden on windows. Running the install:

Invoke-RestMethod -OutFile bitwarden.ps1 ` -Uri https://go.btwrdn.co/bw-ps .\bitwarden.ps1 -install .\bitwarden.ps1 -start

and the installation fails with a failure to create directories and access to the docker path is denied:

mkdir: cannot create directory '/bitwarden/env': Operation not permitted mkdir: cannot create directory '/bitwarden/docker': Operation not permitted mkdir: cannot create directory '/bitwarden/ssl': Operation not permitted mkdir: cannot create directory '/bitwarden/identity': Operation not permitted mkdir: cannot create directory '/bitwarden/nginx': Operation not permitted mkdir: cannot create directory '/bitwarden/ca-certificates': Operation not permitted

This is some sort of docker permission issue but I can't figure it out. Not seeing much online, any advice?

Posted Sep 2, 2020, 7:04 PM UTC

12
arwen666•

We had one report of a user that solved it providing the user account (which was already an administrator) Full Control over the BWDATA folder in the system 32 folder.

And another one that instead of installing the server under System32 used another directory that does not require elevated permission to install because that seams to be a common error: https://github.com/docker/for-win/issues/1560

1
gregoldeOP•

Thank you! Assigning my user full control over the bwdata folder fixed my issue.

1