Skip to content

zachdeibert/docker-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Images

This repository contains various Dockerfiles that will build many useful images. All of these images are also available on DockerHub.

Running GUI Containers

The GUI containers (in IDEs/ and games/) will run on a local X11 server or a remote X11 server. To run a GUI container on a local X11 server, use the following:

docker run -v /tmp:/tmp zachdeibert/container-name $DISPLAY $USER

To run a GUI container on a remote X11 server, use the following:

docker run zachdeibert/container-name $DISPLAY $USER

The filesystem is completely different inside the container than outside the container. Therefore, when you recreate the container, all of the files will be deleted. To change this, you can use the -v option with the folder you want to be the same inside and outside. For example, the following command will make /path/to/folder the same inside and outside the container:

docker run -v /tmp:/tmp -v /path/to/folder:/path/to/folder zachdeibert/container-name $DISPLAY $USER

With Nvidia Graphics Cards

To run a GUI container with a Nvidia graphics card, additionally add the following flags before the container name:

--device /dev/nvidia0 --device /dev/nvidiactl

Repository Structure

  • IDEs/ - These are IDEs that help with development (needs to run with GUI)
  • games/ - These are games (needs to run with GUI and are slower due to an OpenGL problem)
  • software/ - Other development software (CLI only)
    • software/autotools/ - Contains all of the autotools programs (autoconf, automake, libtool, etc.)
    • software/debian+mono-dev/ - Contains the tools needed to build mono programs and package Debian packages (.debs)
    • software/debian-dev/ - Contains the tools needed to build Debian packages (.debs)
    • software/electron/ - Contains the tools needed to build and package Electron apps
    • software/electron/make/ - Contains all of the tools from software/electron/ and has Make
    • software/gradle/ - Contains all of the tools needed to build Gradle projects
    • software/jekyll/ - Contains the tools needed to build Jekyll sites and has Make
    • software/make/ - Contains all of the tools needed for building Docker images with Make
    • software/mono/ - A version of the Library mono image with an updated OS
    • software/mono+make/ - Contains all of the tools needed for building Mono projects with Make
    • software/ngx_http_proxy_connect_module - Contains a version of Nginx with the ngx_http_proxy_connect_module installed
    • software/nsis/ - Contains the tools needed to build a NSIS installer
    • software/typescript/ - Contains the typescript compiler