Skip to content

Repository is a location of user demos for technologies listed on github.com/containers

License

Notifications You must be signed in to change notification settings

unixsysadmin/Demos

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demos

Repository is a location of user demos for technologies listed on github.com/containers

Building directory is for Demos related to building container images. podman_cli directory is for Demos for each of the Podman command line commands. Running directory is for Demos related to running containers. Security directory is for Demos related to containers security.

Requirements

A small 'scratch' Virtual Machine is perfect for this. 2GB of free space in /var for the container storage should be sufficient.

Fedora

An up to date Fedora 29 with access to the standard repositories.

RHEL 7

An up to date RHEL 7 system with the following software installed:

  • podman 0.12 or greater (rhel-7-server-extras-rpms repo)
  • buildah 1.5 or greater (rhel-7-server-extras-rpms repo)
  • docker 1.13 or greater (rhel-7-server-extras-rpms repo)

Register the server with Red Hat or your local Satellite instance so you can consume packages.

Setup

Create a demo user with full sudo rights and switch to the account:

sudo useradd demo
echo "demo   ALL=(ALL) ALL" | sudo tee -a /etc/sudoers
sudo su - demo

Extract the demo repository and enjoy!

Cleanup

The script should clean itself up, but if needed:

sudo rm -rf ~demo/.local

Remove any docker containers and images:

sudo docker rm $(sudo docker ps -a -q)
sudo docker rmi $(sudo docker images -q)
sudo systemctl restart docker

Known issues

ERRO[0000] error reading allowed ID mappings: error reading subuid mappings for user "demo" and subgid mappings for group "demo": No subuid ranges found for user "demo" in /etc/subuid

About

Repository is a location of user demos for technologies listed on github.com/containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.3%
  • Python 1.6%
  • Dockerfile 0.1%