HTTPS SSH

nfv-sdn-docker-tutorial

This repo contains instructions and material for the Docker tutorial at the NFV-SDN conference (Verona, 2018)

If you have questions, please contact us: Juan Cabrera Dr. Giang T. Nguyen * Prof. Dr. Frank H. P. Fitzek

Content

Prerequisites

  • Participants of the tutorial need to bring their own laptop with VirtualBox software. The idea is to run the whole handson tasks inside a sandbox environment, which ensures sufficient and homogeneous software packages for all participants.
  • A virtual machine (VM) with Docker installed, which can be downloaded from here. Credentials: (username, password) = (master, master).
  • The VM is an exported file from VirtualBox (OVA 1.0 file) so that the it can be imported from different OS. If you don't have VirtualBox installed on your laptop, please download from this page. There are software versions for Windows, Mac and Linux operating systems.
  • Slides of the tutorial:

Agenda (~60 minutes)

  1. Small introduction: From NFV/MEC to Docker (5 minutes)
  2. Docker basic (5-10 minutes)
    • list commands
    • verion & info
      • docker info | version
    • execute: docker run
    • image: docker image ls
    • container: docker container ls
  3. Dockerfile (15-20 minutes)
    • define Dockerfile
    • basic keywords: FROM, WORKDIR, COPY, RUN, EXPOSE, ENV, CMD
    • add mock-up application
    • build app
    • run app
    • post-deployment:
      • image related tasks: login, share, tag, publish
  4. Docker compose (15-20 minutes)
    • mention that this is for service level (explain the diff.)
    • docker-compose.yml file
    • load balancing
  5. Docker swarm (maybe)
  6. some advanced content for self-study (5 minutes)