These possibilities convey to VS Code to mount the Workspace with the proper SELinux context, create a user namespace that maps your UID and GID to a similar values inside the container, and use vscode as your username inside the container. Now, in this container, you could operate Docker commands https://bibisoutherncontainers.com/