Sign inSign up

cdavidshaffer/gemstone

By cdavidshaffer

•Updated over 2 years ago

GemStone database docker image

Image
0

1.6K

cdavidshaffer/gemstone repository overview

⁠Introduction

GemStone database (https://gemtalksystems.com/⁠) in a docker image. This is not an official GemTalk Systems LLC release, but my own independent repackaging. The GemStone database license can be found at https://downloads.gemtalksystems.com/pub/GemStone_License_Agreement.pdf⁠.

⁠Getting started

  1. Create a volume for your database data

     docker volume create gemstone-data
    
  2. Copy the default extent (base GemStone database) to this volume

    docker run -it --rm --mount source=gemstone-data,target=/gemstone-data cdavidshaffer/gemstone:latest /bin/bash
    > cp ${GEMSTONE}/data/extent0.dbf /gemstone-data
    > exit
    
  3. Start the server

     docker run -it --mount source=gemstone-data,target=/gemstone-data -p 40055:40055 --shm-size 1G cdavidshaffer/gemstone:latest
    

The database server should start up and display a message similar to:

startnetldi[Info]: GemStone version '3.5.0'
startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
startnetldi[Info]: GEMSTONE is: '/gemstone/GemStone64Bit3.5.0-x86_64.Linux'.
[Info]: Loaded /gemstone/GemStone64Bit3.5.0-x86_64.Linux/lib/libnetldi-3.5.0-64.so
startnetldi[Info]: Log file is '/opt/gemstone/log/gs64ldi.log'.
startnetldi[Info]: GemStone server 'gs64ldi' has been started, process 8
startstone[Info]: GemStone version '3.5.0'
startstone[Info]: Starting Stone repository monitor gs64stone.
startstone[Info]: GEMSTONE is: '/gemstone/GemStone64Bit3.5.0-x86_64.Linux'.
startstone[Info]:
    GEMSTONE_SYS_CONF=/gemstone/GemStone64Bit3.5.0-x86_64.Linux/data/system.conf
    GEMSTONE_EXE_CONF=/gemstone/gs64stone.conf
stoned[Info]: Log file is '/gemstone/GemStone64Bit3.5.0-x86_64.Linux/data/gs64stone.log'.
startstone[Info]: GemStone server gs64stone has been started, process 10
Status        Version    Owner     Started     Type       Name
-------      --------- --------- ------------ ------      ----
OK           3.5.0     gsadmin   Nov 05 21:15 Netldi      gs64ldi
OK           3.5.0     gsadmin   Nov 05 21:15 Stone       gs64stone
OK           3.5.0     gsadmin   Nov 05 21:15 cache       gs64stone~a1a31550680d7c37
Sleeping...

You can press Control-C to terminate it.

⁠General usage

⁠Starting the server

docker run --mount source=gemstone-data,target=/gemstone-data -p 40055:40055 --shm-size 1G -d cdavidshaffer/gemstone:latest

⁠Shutting down the server

Press control-C if you started the server interactively (without -d option above). Otherwise get the container id and use kill:

> docker container ls | grep gemstone
101d033afa5d        gemstone            "/bin/sh -c ./runGem…"   22 hours ago        Up 22 hours         0.0.0.0:40055->40055/tcp   boring_ganguly
> docker container kill 101d033afa5d

⁠Contributions

This project is maintained on github: https://github.com/cdavidshaffer/gemstone-docker⁠

Tag summary

Content type

Image

Digest

sha256:3e6b3b339…

Size

495.1 MB

Last updated

over 2 years ago

docker pull cdavidshaffer/gemstone