Coder Social home page Coder Social logo

dockerfiles's Introduction

syncomm's Dockerfiles

These are a collection of my dockerfiles. Most are X based for now, as that is the area which is giving me the most interest.

X11 and Docker

To forward X11 through docker efficiently, all you need to do is set the DISPLAY environment to unix:(your host DISPLAY) and share the host filesystem socket (ex. /tmp/.X11-unix/X0). This can be done in most cases with:

Host:

sudo docker run -rm -v /tmp/.X11-unix/:/tmp/.X11-unix/ -i -t fedora /bin/bash

Container:

export DISPLAY=unix:0

-v is for volume mapping and can be invoked multiple times for the same container. Sound can also be forwarded this way through sharing Pulseaudio sockets (and setting PULSE_SERVER on the container to point at the socket.)

dockerfiles's People

Contributors

syncomm avatar filabrazilska avatar michael-k avatar

Watchers

James Cloos avatar  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.