Giter VIP home page Giter VIP logo

rubber-docker's People

Contributors

aussielunix avatar cdown avatar cmeury avatar danrl avatar hjacobs avatar m1keil avatar natict avatar nukemberg avatar yonilavi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rubber-docker's Issues

Run rd.py via Vagrantfile

To run rd.py on the vagrant box, I had to specify the path:

export PYTHONPATH=/usr/lib/python2.7/dist-packages:/workshop/rubber-docker

Not sure what the best way to configure this via the Vagrantfile

Add support for generating workshop lab host as a VMware virtual machine

Hi!

Your docker lab is excellent. Some of us work with VMware, hence prefer to use a VMware virtual machine image rather than Amazon for the lab exercises. I committed changes containing packer files to generate VMware images and will submit a PR in a few minutes for your consideration. I verified that the script changes do not affect generation of AMIs, which still work as before.

I hope that once this PR is accepted it will make rubber-docker more accessible to the VMware community including folks at VMware itself.

Thanks again for the great work.

Robert

Add readme for level 0

It's currently a little confusing and taking too long
Explain why are we doing fork() & exec(), explain that you get two processes which continue from the same instruction

create packer template for workshops

Image should include:

  • docker, configured to work with overlayfs
  • python-dev, build-essential
  • htop
  • stress
  • ipython
  • busybox.tar.gz (busybox image, docker export busybox > busybox.tar.gz)
  • ubuntu image (docker export)
  • change motd with workshop info: git clone directory, etc
  • git clone of the rubber-docker repo
  • update rc.local to git pull && python setup.py install rubber-docker, we need the latest version of the python module installed
  • if using ubuntu, activate memory accounting in kernel - add cgroup_enable=memory swapaccount=1 to kernel arguments

Broken links in prep.md

Failed to build packer image

got two issues when tried to build the packer image on eu-central-1:

  1. amazon-ebs: Process: 4204 ExecStart=/usr/bin/docker daemon -H fd:// --storage-driver overlay (code=exited, status=125) the docker service fails to start with overlay storage driver
  2. amazon-ebs: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) amazon-ebs: E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? failed to apt-get update

Create self-service prep docs

Create prep docs for people to read as a replacement for the prep talk. The docs should include:

  • outline: list of subjects and required knowledge
  • relevant links
  • "further reading" list
  • intro doc for relevant subjects

topics that needs to be covered in intro docs:

  • what is a "linux container" made of
  • glibc, userspace, kernelspace
  • processes from the kernel PoV
  • cgroups
  • namespaces
  • CoW storage (high level)
  • chroot/pivot_root
  • mounts
  • users
  • basic memory management (rlimit, oom killer, memory cgroup)

i suggest putting the docs as markdown in a "prep-docs" directory so people can consume directly from the repo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.