Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 3.47 KB

guide.md

File metadata and controls

54 lines (42 loc) · 3.47 KB

Prerequisites

Before we can begin with the actual exercises, please make sure that you:

If done so, you can continue with the intermediate or advanced exercises.

Guacamole MySQL image

Throughout this workshop, we make use of a custom MySQL Docker Image that provides the proper schema such that Guacamole can store information.

More information on supported Guacamole Database backends can be found here.

Follow the steps below to create the Docker image:

  1. Open a terminal and navigate to {clone_dir}/prerequisites/gw_guacdb/.
    This directory contains the following file(s):
    Dockerfile for building the image
    initdb.sql for injecting the SQL schema at image creation time
  2. Execute docker build . -t gw_guacdb
    This builds the Guacamole database Docker image and stores it in the local Docker registry as gw_guacdb.

In the exercises you will see references to this image in docker-compose.yml files.

Desktop image

In the following exercises, we will run Blender in a Docker container based on a desktop Docker image. This desktop image combines XFCE with a virtual frame buffer (XVFB), so that the desktop containers can be run headless. Furthermore it has VNC for remote control by Guacamole.

Follow the steps below to create the Docker image:

  1. Open a terminal and navigate to {clone_dir}/prerequisites/gw_desktop/.
    This directory contains the following file(s):
    Dockerfile for building the image
    startup.sh is the main entry point for the Docker container (starts the supervisor daemon)
    supervisord.conf configures the process manager and services (e.g. XVFB, X11VNC & SSH)
  2. Execute docker build . -t gw_desktop
    This builds the desktop Docker image and stores it in the local Docker registry as gw_desktop.

Blender desktop image

The goal of this workshop is to make Blender available in the browser. To this end, we create a Blender Docker image which is based on the previously generated Desktop image.

Follow the steps below to create the Docker image:

  1. Open a terminal and navigate to {clone_dir}/prerequisites/gw_blender/.
    This directory contains the following file(s):
    blender.desktop runs at startup and executes blender.sh
    blender.sh starts Blender with the appropriate scene (from environment variable BLENDER_FILE)
    Dockerfile for building the image
  2. Execute docker build . -t gw_blender
    This builds the Blender Docker image and stores it in the local Docker registry as gw_blender.

In the exercises you will see references to this image in docker-compose.yml files.

You can now continue with the intermediate or advanced exercise.