Skip to content

Instantly share code, notes, and snippets.

@scollier
Last active August 29, 2015 14:20
Show Gist options
  • Save scollier/a21629cbecaed91eda67 to your computer and use it in GitHub Desktop.
Save scollier/a21629cbecaed91eda67 to your computer and use it in GitHub Desktop.
Container Best Practices Video
Script for container best practices contribution video.
Set up the environment:
Have the chrome browser showing 3 pre-configured tabs: github, asciidoc reference, docker registry showing container.
Open a terminal to a clean Fedora 21 host.
Start covering the material:
1. Show the github page and cover project.
We need to consolidate the information out there. We need to provide best practices for CentOS, RHEL and Fedora, for Middleware, OpenShift, Kubernetes, etc... In addition, there are new tools out there that, while we may not have 100 percent of the docs, we should have a one stop shop for pointing people in the right direction. Some examples of this are the new nulecule project and the atomic app project. One ask is for anyone with best practices to share, consider contributing here.
2. Show the TOC
3. Show the README that has instructions.
Show how to run:
You have 3 options:
1. Install the tools on your Fedora host.
Show the list of packages needed.
2. Build your own container with the tools, which I have a README / instructions for.
Show the Dockerfile and how to build. Show the README.
3. Pull a pre-built trusted image from the Docker registry.
Show the command to just pull it down and run.
Show how "make" on the host doesn't work because it's not installed.
sudo docker run --privileged -dt -v /root/git_projects/container-best-practices/:/workdir fedora/container-best-practices make
sudo docker run --privileged -dt -v /root/git_projects/container-best-practices/:/workdir fedora/container-best-practices make clean
4. Show how to make a trivial change and generate new documents. Show both .pdf and .html output.
5. Talk about where to get help.
#fedora-cloud or #atomic on IRC or Project Atomic mailing lists (show in browser).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment