none
Remove-ContainerSharedFolder leave junction point inside the container RRS feed

  • Question

  • I'm working on a set of scripts to deploy apps inside a container, as part of this script I'm actually using Add-containersharedfolder/Remove-containersharedfolder cmdlets to  pass some file into the container itself. Everything works fine but I've noticed that when I remove the shared folder the container still show the junction point and I have to remove it manually.

    Another aspect I saw is that if I create an image with some shared folders mapped to a removable disk (i.e.: usb stick) when I try to start the container while the disk is not connected to the host the container iteself will fail. While I fully understand that this make sense (after all the cmdlet remove-containersharedfolder is there for a reason :) ) I wonder if make sense to simply bypass the shared folder on start as "force" command in order to star the container in case of need.

    Tuesday, January 26, 2016 3:02 PM