Giter Club home page Giter Club logo

docker-pip's Introduction

Docker container with FIS PIP

Usage

Using MTM/servers

MTM and PIP servers required non-standard shared memory settings.

You can let the container set them if you make it --privileged

$ docker run --privileged -p 61315:61315 fopina/fis-pip

Or, if you prefer, set them directly instead

$ docker run --sysctl "kernel.msgmnb=65536000" --sysctl "kernel.msgmni=512" --sysctl "kernel.msgmax=1048700" -p 61315:61315 fopina/fis-pip

Then just connect your local application to it (using PIP JDBC driver or anything else - like this)

Using GTM directly

$ docker run -ti fopina/fis-pip su - pip
pip@933687555dbc:~$ cd pip_V02/
pip@933687555dbc:~/pip_V02$ ./dm

GTM>w $ZV
GT.M V5.4-000 Linux x86

GTM>zwr ^TBXBUILD
^TBXBUILD(0)="Fixpack|Corporate_Solutions_Dev|FrameWorkInstall|40964|||0"
^TBXBUILD(10)="PIP Framework|SCA Products|Profile_Framework_v30|PRF_FWK_v30_025|kbhaskar|61580|0"
^TBXBUILD(20)="PIP Supplement||||||0"

GTM>

Build

  • Download PIP v0.2 VMDK
  • Mount it sudo guestmount -a ubuntu_8.04_jeos_pip.vmdk -i --ro /mnt/pip
  • Create tarball cd /mnt/pip; tar czpf $OLDPWD/pip.tgz usr/lib/fis-gtm/ home/pip/
  • Clean up tarball in a temporary docker container
$ docker create --name temp -t ubuntu:16.04
$ docker cp pip.tgz temp:/
$ docker start -ai temp
root@1411735e28c7:/# useradd pip -m -u 61781 -g 100
root@1411735e28c7:/# tar xpf pip.tgz && rm pip.tgz
root@1411735e28c7:/# rm -fr /home/pip/.fis-gtm
root@1411735e28c7:/# rm /home/pip/gtm_*.err
root@1411735e28c7:/# rm /home/pip/pip_V02/*.mje
root@1411735e28c7:/# rm /home/pip/pip_V02/PROFILE_ERROR.*
root@1411735e28c7:/# find /home/pip/pip_V02/?rtns/ -name \*.o -exec rm {} \;
root@1411735e28c7:/# tar czpf pip.tgz usr/lib/fis-gtm/ home/pip/
root@1411735e28c7:/# exit
$ docker cp temp:/pip.tgz .
$ docker rm temp
  • Build image docker build -t fopina/fis-pip .

docker-pip's People

Contributors

fopina avatar

Watchers

Krzysztof Drozd avatar arthur ingram avatar  avatar 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.