Skip to main content
Submitted by Suzanne Scanlan on 2 April 2021

ArcherPoint Dynamics NAV / Business Central Developer Digest - Vol 338

A busy week for Developer Digest: Tips for cleaning up Docker, end of mainstream support for NAV and Business Central 15, BC Resources for developers from DynamicsCon, and more!

The Dynamics NAV and Business Central community, including the ArcherPoint technical staff, is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of  sharing helpful information with one another to help customers be more successful.

As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media...so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV/BC experts and devotees around the world. We hope these insights will benefit you, too.

Developer Tip of the Day: How to Clean Up Docker's Mess

Kyle shares this: “Docker does not do a good job of cleaning up after itself when you remove containers, images, and artifacts. It winds up leaving hundreds of GB of trash in c:\ProgramData\Docker\windowsfilter. These steps worked for me to clean it up. 
  
Do all these steps from an elevated PowerShell:  

  • Remove all containers 
  • Remove-bccontainer <container name> 
  • Remove all images 
  • Docker image ls -a 
  • Docker image rm <image ID> 
  • Remove all artifacts 
  • Flush-ContainerHelperCache -cache bcartifacts 
  • Stop docker desktop 
  • Stop and disable docker service 
  • Reboot 
  • Download docker-ci-zap.exe 
  • .\docker-ci-zap.exe -folder "C:\ProgramData\Docker\windowsfilter" 
  • Re-enable docker service and re-create your containers”

Suresh asks: “Did you try Docker system prune or Docker system prune -a?”
 
Kyle answers: “Yes. That does nothing for the windowsfilter folder.”

Suresh agrees: “Except removing the content from windowsfilter folder, it will clean up all the dangling images, containers.”

End of Mainstream Support for Dynamics NAV and Business Central 15

Is it time to upgrade your clients? Microsoft’s end of mainstream support for Dynamics NAV 2016 and Business Central 15 is coming up in April. With the N-2 policy, every six months (at every major release for Business Central), another version will no longer fall under mainstream support. Have questions about this? Contact ArcherPoint for more information.

Business Central Resources for Developers

In a DynamicsCon session, Jeremy Vyska shared a Business Central Archipelago Map of resources for users and developers alike.

From the Business Central 2021 Wave 1 Release…

Stefano Demiliani provides a quick update to inform anyone using the Power Platform with Business Central that there is an update to the Power Platform connector.

Restore Your Online Business Central Database Locally

Freddy’s blog shares how to, using BcContainerHelper, restore your online BC database locally, with step-by-step instructions, prerequisites, and artifacts needed in the process. 
 

If you are interested in Dynamics NAV and Business Central development, be sure to see our collection of NAV/BC Development Blogs.

Read the "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.