GithubHelp home page GithubHelp logo

dogma's Introduction

DoGMA - Docker GUI Management Application

Features

  • Grants and revokes X Server access for GUI applications
  • Starts a Docker container
  • Attaches to a running Docker container
  • Executes a GUI application inside the container

Prerequisites

  • Docker
  • Docker Compose
  • Python 3.x

Directory Structure

dogma/
├── Dockerfile: Defines the Docker container including the necessary dependencies
├── docker-compose.yml: Docker Compose configuration file
├── dogma.py: Script to manage the Docker container and run the application

Getting Started

  1. Clone this repository to your local machine:
    git clone https://github.com/williamblair333/dogma.git
    cd dogma
  2. Run the script:
    python dogma.py <container_name> <application_path>
    python3 dogma.py gpt4all-gpt4all-1 /root/gpt4all/bin/chat

Notes, Security

  • X Server access is granted temporarily and revoked immediately after running the application

Notes, General

  • Ensure you have all prerequisites installed before running the script

Test image and container

A Docker image using a specified distro is attached for convenience to illustrate/test the features.

Anything else relevant to each specific project

  • Make sure to customize the Dockerfile and docker-compose.yml as per your project requirements.

dogma's People

Contributors

williamblair333 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.