It appears that the only way to run devcontainers locally is by following these steps:
I would like to skip step 1 and launch VSCode directly into a container session. Is this currently possible?
This is now officially supported in the devcontainer CLI.
After installing the CLI, the project can be opened directly in a devcontainer using the command:
devcontainer open .