BcContainerHelper

  • Telemetry in BcContainerHelper 3.0.0

    BcContainerHelper 3.0.0 just released and as something new, you will see this message when importing the module: BcContainerHelper emits usage statistics telemetry to Microsoft What does that mean? Can you avoid that? Who can access the emitted telemetry data? How? Can you use telemetry for troubleshooting? Can you use telemetry for other things? This blog post will try to answer these questions. First of all, what is usage statistics? Usage statistics is collects information about which functions are called/used in...

  • NavContainerHelper doesn’t work anymore…

    With a total of over 300000 downloads, NavContainerHelper is no more. As of this weekend, NavContainerHelper cannot be used to create containers anymore. There has been a lot of blog posts here on my blog and others that indicated that this day would come and now it is here… – all specific images are gone and with those all the “old” generic images, which was used by NavContainerHelper. I will contact PowerShell Gallery to get the entry removed. RIP NavContainerHelper,...

  • Removing all specific NAV and Business Central Docker Images

    On October 27th 2017, I posted the first announcement which introduced NAV on Docker. For approx. 3 years we published Docker images first to Docker Hub and later to Microsoft Container Registry for both Windows Server 2016 and Windows Server 2019. Many 1000 images was pushed to the container registries until we during the summer of 2020 changed strategy to use artifacts together with the generic image. The various versions of specific images on different container OS’ amounts to more...

  • BcContainerHelper version 2.0.1

    Version 2.0.1 of BcContainerHelper was shipped with a number of very exciting new featuers. This blog post will list the features and I will have to document them elsewhere. Run-AlPipeline and Compile-AppInBcContainer with -failOn ‘error’ will now mark a build as succeeded with Warnings if there are warnings in the build. New-BcContainer with -FilesOnly will create a container with no service tier, no sql database, no IIS, just all the files from a normal docker container copied to a container...

  • How to use Run-AlValidation

    When releasing the first version of Run-AlValidation in BcContainerHelper, i did a quick blog post about the function here. This blog post serves to explain some common scenarios of how to run the function. The blog post will also explain the parameters of Run-AlValidation a bit more in depth, for people to have a good chance of using the function before submitting for AppSource Validation. Note: The parameters and the functionality described in this blog post requires BcContainerHelper 1.0.19 or...

  • TimeStampServer – you had one job!

    The important part of this blog post: Please make sure to upgrade to BcContainerHelper 1.0.18 or reconfigfure the timestampServer in your existing version. December 30th 2020 we got a number of apps for validation failing due to a wrong timestamp signature. Some partners discovered this before submitting and filed an issue on github here, complaining about this error: “The timestamp signature and/or certificate could not be verified or is malformed.“ I was enjoying a nice walk in the forest with...

  • 18 hours of no containerhelper…

    Friday morning around 6am. I had just kicked off a few validation builds when they started failing. Failing builds can happen and typically there is a valid reason for this, but in this case – ALL builds was failing and looking in the logs I quickly realized that this problem was something different. PowerShell Gallery was down, PowerShell Gallery had an outage and it took a stunning 18 hours before it was back online…:-( Issues, Emails, Tweets etc… I got...

  • Troubleshooting Business Central on Docker

    This blog post is not really a troubleshooting guide (although there is a small TSG at the end). It is more like a brain dump of what I have seen over time and how I would approach a trouble shooting session. I have divided it into 6 sections: Dockers worst enemy (just FYI) Installing Docker Installing BcContainerHelper Creating a Business Central container Keep the script, not the Container Frequently seen docker errors Going forward, I will add a link to...

  • BcContainerHelper configuration

    The one thing most people have complained about in NavContainerHelper is that you cannot decide where it places it’s temporary files. With the shift to artifacts that got even worse because also artifacts was now placed on the c: drive. With the shift to BcContainerHelper – this is now possible. Remove All Containers and shift Before you rush out and uninstall NavContainerHelper and install BcContainerHelper – please remove all containers first: Get-NavContainers | Remove-NavContainer After this, you can run Uninstall-Module...

  • Run-AlPipeline

    WARNING: Very boring long blog post ahead… Run-AlPipeline is a new function in BcContainerHelper. It has been in preview for a number of releases while being worked on, and a number of partners have already tried to use it. My apologies for changing things under your feet, but to my defense – I did write that the function was in preview. With version 1.0.8 of BcContainerHelper, Run-AlPipeline is ready for real-life usage… (I think) Goal The goal of this function...

  • One of these days…

    Many years ago, I heard a joke: 3 people (a biologist, a mathematician and a developer) were in Africa on a Safari. They drive by a blue elephant. The biologist shouts out: “Look, there is a BLUE elephant.”. The mathematician states: “Right you are, there is ONE blue elephant”. The developer slaps his palm against his forehead and says: “Damn, there are blue elephants…“ As developers we often make assumptions and when we see these assumptions no longer being true,...

  • BcContainerHelper

    Before you read anything, please understand that NavContainerHelper is still available in the PowerShell gallery and it will still be available for the foreseeable future. Existing pipelines using NavContainerHelper can continue running – no problem just yet. Future innovations and changes to support future versions of Business Central might require you to switch to BcContainerHelper. BcContainerHelper is another PowerShell module available in the PowerShell Gallery here: https://www.powershellgallery.com/packages/BcContainerHelper. BcContainerHelper is a replacement for NavContainerHelper. Although you can install both modules side...