Closed wbrakowski closed 2 years ago
You should consider sharing the files to the container instead of copying.
What are you trying to achieve?
if you have a number of files you want to copy to the add-ins folder, I think you can add this to the new-bccontainer command:
-additionalparameters @( "--volume c:\run\add-ins:c:\folderonlocalcomputer")
Thank you for the fast response. Like this?
That did not work for me.
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
Hello Freddy. I am having trouble using the command Copy-FileToBcContainer. The creation of my container succeeds without problems. I need to copy a lot of dlls from a local folder to the addin folder of my container. I created a script for the copying of the dlls and it worked fine on another laptop, but after trying the same scripts with a new laptop I am getting errors.
To clarify: Copying one file from local folder to the container folder works perfectly fine. The script often even copies 50-100 dll files without problems, but after a while I always receive the error: "The background process repoted an error with the following message: "The named pipe target process has ended."
...sometimes after 10 files were copied, sometimes after 100 files were copied. It is not tied to a specific file.
Do you have an idea what I might be doing wrong? Or any idea what I can do instead to copy these many dlls to my container?
Scripts used to create container and cause the issue
NOTE: The creation of the container is not the problem!
Full output of scripts
This is the script I use to copy files to the container
Screenshots
Additional context