Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Prepare Your Laptop

  • You will be learning the practical modules on your own laptops.
  • Prepare your laptop with the following three tasks well before the workshop.

Task 1: Update System

Task 2: Install Docker

Task 3: Check Docker Works

  • Check that your docker installation was successful
    • If Docker Desktop is installed, make sure that it is launched and running.

    • Open your CLI terminal and start a container by running the command:

      docker run hello-world
      
      • You should receive a Hello from Docker! in the output.
    • Run welcome-to-docker as daemon mapping port 80 to 8080.

      docker run -d -p 8080:80 docker/welcome-to-docker
      
      • Visit http://localhost:8080 in your browser to access this container and see a welcome message.
      • Identify and Stop the running welcome-to-docker container.

Task 4: Pull workshop docker images

  • We will use the workshop's latest docker images built for the two main processor architectures.

  • First you need to find out which type of processor your laptop has (do an online search if you don't know how).

  • You can simply pull these docker images as follows:

    • For most modern Mac laptops with silicon M1/M2/etc. on ARM 64 bit processors:

      docker pull vakeworks/sovscadesdismalops:dev-arm64
      
    • For most Windows, Linux and older Mac laptops with Intel x86/AMD 64 bit processors:

      docker pull vakeworks/sovscadesdismalops:dev-amd64
      
  • You should be able to open terminal inside a running docker container

  • [OPTIONAL] You can checkout command-line and docker pages we will be going through.

  • [OPTIONAL] Advanced Exercise: You can build these docker images from scratch on your own by following Docker Ray Dev.