Docker – Set fixed subnet in nat network

Docker and navcontainerhelper do an excellent work setting a dns so that you don’t need to use an ip address to connect to your docker containers but use the containers name instead (be sure to use the -updateHosts when creating the container). But, what if you want to have a network with fixed subnet and […]

Powershell – How to install the certificate automatically after creating the container

When a new container is created using navcontainerhelper, if the -useSSL flag is used, a self-signed certificate is created and the url to the certificate file is retrieved. How to download and install the self-signed certificate after creating the container, using Powershell commands? Like this: $containername = ‘bccontainer’ 
$outputCertFilePath = ‘C:\Temp\’ + $containername + ‘_Certificate.cer’