• By design, Docker containers do not store persistent data. Any data written to a container's writable layer will no longer be available once the container stops running. Also, getting data written to a container back out of it for another process can be difficult. To solve the issue of persisting data from a container, Docker has two options.

    +1
  • You could manage file shares through PowerShell, but before PowerShell 3, it was not the most intuitive process. PowerShell 3 on Windows 8/Windows Server 2012 and higher introduced the SmbShare module. This module contains several commands that make managing file shares in Windows less of a headache.

    +1
  • Chances are, you have already been using a NuGet feed repository whether you know it or not. The PowerShell Gallery, registered by default, is a NuGet feed for downloading and publishing PowerShell modules and is publicly available. However, you may not want to publish your modules to be available to the public. Registering your own hosted NuGet feeds is a great alternative that will give you the privacy and security you need.

    +1
  • You can use the NuGet.Server package provided by the .NET Foundation to create an ASP.NET application for hosting a NuGet package feed in IIS.

    +1
  • The PowerShell Gallery is a great place not only to download useful modules but also publish your own modules to share with the community. However, you may not necessarily intend all of your work for public consumption. In these cases, you can register an internal PowerShell repository to host your modules where you can control who has access and who can publish modules. If you don't have access to a robust NuGet feed internally, using file shares is a quick and easy way to get set up registering repositories in PowerShell with little effort.

    +1
  • +1
  • Matt McElreath changed their profile picture 3 years, 2 months ago

    +1
© 4sysops 2006 - 2021

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account