Public Repository

Last pushed: a year ago
Short Description
Glade 2 CentOS
Full Description

Goals

  • Host Computer using like server
  • Client Computer, like laptop, display and dev glade project
  • Docker container running on host computer

System Configuration

Host Computer (ex. 192.168.0.2)

  • Running Docker

Client Computer (ex. 192.168.0.3)

  • Install XQuartz
  • Install Homebrew
  • Install socat

Usage

On Client Computer

Install Xquartz
Install Brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install socat
brew install socat
Run socat
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
Run Docker
  • Actually, it's running Host, Client just displaying.
  • Connect Host Computer
    ssh 192.168.0.2
    
  • Run glade-2 container
    docker run --rm -e DISPLAY=192.168.0.3:0.0 \
      -v /tmp/.X11-unix:/tmp/.X11-unix \
      -v /my/project/dir:/docker/project/dir \
      -it goldbassist/glade2-centos5 \
      glade-2
    
    • When glade-2 closed, docker container has gone, but your saved project data on server.

Dockerfile

FROM centos:5

RUN yum install glade2 -y
Docker Pull Command
Owner
goldbassist

Comments (0)