Skip to content

dirmeier/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerfiles

Project Status

A collection of docker files.

Usage

Clone the repository and install a docker file like this:

  cd <folder>
  docker build . -t <name>

You can then run the installed image as usual. For instance, if you want to start a container and mount the current directory to /mnt:

  docker run -itv $(pwd):/mnt <name> bash

With the running container, you can install stuff as always. Restart the container with

  docker start -i <name of container>

Delete all containers using

  docker container rm $(docker container ls -aq)

Delete all images using

  docker rmi $(docker images -a -q)

Author

Simon Dirmeier sfyrbnd @ pm me