Same issue here - there’s another thread about this here: Anyspheres Dev Container Extension: Use the Name Property of DevContainers + Allow to Switch Containers
A workaround suggested in that thread is to open the command palette and select Developer: Reload Window. That seems to work for me