Extensions in Devcontainer not installing properly

Some extensions in devcontainer are not installing correctly. For example pylance, my current solution is to manually install it and reload the window.