├── TheContainerTalk.pptx ├── ghost.docker ├── README.md ├── docker-compose.yml ├── notebook.docker └── dungeon.docker /TheContainerTalk.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stevenrbrandt/containertalk/master/TheContainerTalk.pptx -------------------------------------------------------------------------------- /ghost.docker: -------------------------------------------------------------------------------- 1 | FROM fedora 2 | RUN dnf install -y cowsay 3 | CMD ["cowsay", "-f", "ghostbusters", "Who", "you", "gonna", "call?"] 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Container Talk 2 | 3 | An informal container talk I gave at CCT. In it, I discuss the basics of using Docker and Singularity. 4 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | 3 | volumes: 4 | jup-notebk-home: 5 | 6 | services: 7 | notebook: 8 | build: 9 | context: . 10 | dockerfile: notebook.docker 11 | image: notebook 12 | container_name: nbk 13 | ports: 14 | - '8009:8009' 15 | volumes: 16 | - jup-notebk-home:/home/jovyan 17 | restart: on-failure 18 | -------------------------------------------------------------------------------- /notebook.docker: -------------------------------------------------------------------------------- 1 | FROM fedora 2 | 3 | RUN dnf install -y python3 4 | 5 | # Make Python3 the default 6 | RUN alternatives --install /usr/bin/python python /usr/bin/python3 1 7 | RUN alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 8 | 9 | RUN pip install jupyter 10 | 11 | # We don't want to run as root 12 | RUN useradd -m jovyan 13 | USER jovyan 14 | ENV USER jovyan 15 | WORKDIR /home/jovyan 16 | 17 | # The default command 18 | CMD ["jupyter", "notebook", "--port", "8009", "--ip", "0.0.0.0"] 19 | -------------------------------------------------------------------------------- /dungeon.docker: -------------------------------------------------------------------------------- 1 | FROM fedora 2 | 3 | # Install standard packages... 4 | RUN dnf -y install curl perl bzip2 ncurses-devel ncurses-compat-libs SDL gtk2 SDL_image mesa-libGLU SDL_ttf 5 | 6 | # Download and install the game... 7 | RUN curl -kLO http://www.bay12games.com/dwarves/df_44_12_linux.tar.bz2 8 | RUN tar xjf df_44_12_linux.tar.bz2 9 | WORKDIR /df_linux 10 | 11 | # The game loads the wrong glibc if you leave this file in.... 12 | RUN rm -f libs/libstdc++.so.6 13 | 14 | # Only text mode runs from this docker image... 15 | RUN perl -p -i -e 's/PRINT_MODE:2D/PRINT_MODE:TEXT/g' data/init/init.txt 16 | 17 | # Run the game! 18 | CMD ["bash", "./df"] 19 | --------------------------------------------------------------------------------