You can setup VSCode Dev container environment as followings.
For more detailed support, please refer to VSCode Dev Containers documentation.

Requirements

  • Prebuilt Docker Image
  • VSCODE
  • VSCODE Extension : Dev Containers

Setup example

  1. Create a Workspace
     mkdir workspace
    

    You can use a different name for the workspace if preferred.

  2. Environment setup
    1. Create a temporary container and copy necessary files to your workspace
       docker create --name temp_container xcenadev/sdk:latest
       cd workspace
       docker cp temp_container:/work/. .
      

      Dev container configuration and SDK files will be copied from the temporary container to workspace.

    2. Remove the temporary container
       docker rm temp_container
      
  3. Open Dev container
    1. Open workspace in VSCODE

    2. Reopen in Dev Container
      Press [CTRL + SHIFT + P] and select Dev Containers: Reopen in Container

Additional Notes

  • Make sure you have the necessary permissions to access the prebuilt Docker image.
  • If you encounter any issues, verify that the Docker daemon is running and the VSCode Dev Containers extension is properly installed.
  • If you need to customize the Dev Container configuration further, you can modify the .devcontainer folder in your workspace.