title: How to run pygame gui in docker container on remote server?
body: <p>I want to develop a pygame environment on a remote server.
  How can I run pygame gui on remote-container connected using vscode?</p>
  <p>Please provide a simple example code.</p>
  <p>thank you.</p>
  <p>pygame simple code</p>
  <pre><code>import pygame
  import pygame_gui
  
  
  pygame.init()
  
  pygame.display.set_caption(&quot;Quick Start&quot;)
  window_surface = pygame.display.set_mode((800, 600))
  
  background = pygame.Surface((800, 600))
  background.fill(pygame.Color(&quot;#000000&quot;))
  
  manager = pygame_gui.UIManager((800, 600))
  
  is_running = True
  
  while is_running:
  
      for event in pygame.event.get():
          if event.type == pygame.QUIT:
              is_running = False
  
      window_surface.blit(background, (0, 0))
  
      pygame.display.update()
  
  </code></pre>
  <p>error log</p>
  <pre><code>pygame 2.1.2 (SDL 2.0.16, Python 3.8.6)
  Hello from the pygame community. https://www.pygame.org/contribute.html
  ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
  ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
  ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
  ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
  ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
  ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
  ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
  ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
  Traceback (most recent call last):
    File &quot;/home/jovyan/local/1_user/srlee@agilesoda.ai/TIL/pygame/gui_test.py&quot;, line 8, in &lt;module&gt;
      window_surface = pygame.display.set_mode((800, 600))
  pygame.error: No available video device
  
  </code></pre>