Business Central W1 Docker image with data

You probably know this. I just write this post because I didn’t up until today.

I’m using Docker quite regularly (well, if you find “pulling an image twice a day” is regular) .. and I have been using mostly these two repositories according my needs (for more info, look here):

  • “bcinsider.azurecr.io/bcsandbox-master” for the very latest version (the future release)
  • “microsoft/bcsandbox” for the current release

Data gone

Since quite some time, the databases on this image didn’t hold any data anymore. We could import data using RapidStart Packages – and for a while, this is what I did .. . If you want to know more, here you can find some more info:

This could take a while – so I only did it when I really needed demo data.

base-tag

Up until today, when a colleague found out that there is actually a docker tag we can set that is the W1-version WITH data! The magic tag is “base”. He found it somewhere deep in the github-issue-list, as a comment by Freddy. To quote Freddy:

If you use microsoft/bcsandbox:base, then you will get w1 demo data.

base is the foundation of all languages and will contain the on-prem w1 db.

master insider builds with :w1 will contain the saas demo data.

So there you go – I changed all my scripts so they use these docker images now:

  • “bcinsider.azurecr.io/bcsandbox-master:base
  • “microsoft/bcsandbox:base

And VOILA – data!

5.00 avg. rating (98% score) - 2 votes

Permanent link to this article: https://www.waldo.be/2018/08/31/business-central-w1-docker-image-with-data/

5 comments

4 pings

Skip to comment form

  1. There is a real difference between the base image and the ‘normal’ image. The base image behaves like a NAV installation, while the normal image behaves like Business Central online.

    For example, ApplicationArea feature is not active in the base image, while it is active in the normal image.

    So, if developing apps for Business Central online, I would still recommend to go with the normal sandbox image to get the real Business Central experience.

      • waldo on September 1, 2018 at 9:50 pm
        Author

      Fair point, thanks!

    • mgm on February 27, 2020 at 9:47 am
    • Reply

    Should this ‘base’ tag still work?
    I created a container with image ‘mcr.microsoft.com/businesscentral/sandbox:base’ but didn’t get any data, just an empty ‘My Company’

      • waldo on February 27, 2020 at 10:40 am
        Author

      I honestly don’t know – Microsoft seems to change its conventions regularly – hard to keep up.

      What I do recently:
      I try to figure out the image from the list that I can get from the corresponding repo:
      https://www.waldo.be/2019/02/01/where-to-find-the-microsoft-dynamics-365-business-central-and-nav-docker-images-updated/

      But .. just tested with “mcr.microsoft.com/businesscentral/sandbox:base” and I DO have data..

      • waldo on February 27, 2020 at 10:40 am
        Author

      Try to change company to “CRONUS International Ltd.”

  1. […] Original URL… […]

  2. […] Bron : Waldo’s Blog Lees meer… […]

  3. […] Microsoft/bcsandbox:base. If you need more info about loading your Business Central with data, read Waldo’s and Roberto’s […]

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.