20. September 2021 14:34
21. September 2021 11:01
New-BCContainer -accept_eula `
-accept_outdated `
-containerName $containerName `
-Auth NavUserPassword `
-artifactUrl $artifactUrl `
-Credential $navCred `
-databaseServer $databaseServer `
-databaseInstance $databaseInstance `
-databaseName $databaseName `
-databaseCredential $databaseCredential `
-updateHosts `
-memoryLimit $memoryLimit `
-isolation process `
-useBestContainerOS `
-myScripts $myScripts
22. September 2021 14:58
sweikelt hat geschrieben:
- Code:
New-BCContainer -accept_eula `
-accept_outdated `
-containerName $containerName `
[...]
-myScripts $myScripts
You have to specify artifactUrl or imageName when creating a new container.
In C:\Program
Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.15\ContainerHandling\New-NavContainer.ps1:691 Zeichen:13
+ throw "You have to specify artifactUrl or imageName when ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (You have to spe... new container.:String) [], RuntimeExceptio
n
+ FullyQualifiedErrorId : You have to specify artifactUrl or imageName when creating a new container.
$containerName = 'mybccontainerDEV'
$credential = Get-Credential -Message 'Using Windows authentication. Please enter your Windows credentials for the host computer.'
$databaseServer = http://blablabla/
$databaseInstance = blabla
$databaseName = bla
$databaseCredential = Get-Credential -Message 'Using Database Credential authentication. Please enter your Database Credential.'
$auth = 'Windows'
$artifactUrl = Get-BcArtifactUrl -type 'OnPrem' -version '17.5.22499.22546' -country 'de' -select 'Closest'
New-BcContainer `
-accept_eula `
-accept_outdated `
-containerName $containerName `
-credential $credential `
-databaseServer $databaseServer `
-databaseInstance $databaseInstance `
-databaseName $databaseName `
-databaseCredential $databaseCredential `
-auth NavUserPassword `
-artifactUrl $artifactUrl `
-memoryLimit 4G `
-isolation process `
-useBestContainerOS `
-updateHosts
22. September 2021 15:39
Volkan hat geschrieben:Ich möchte allerdings eine Umgebung, die die Daten aus unserem Prdoduktivsystem hat und auch alle Apps die installiert sind
22. September 2021 16:01
$artifactUrl = Get-BCArtifactUrl -country de -type OnPrem $navVersion