GithubHelp home page GithubHelp logo

datagrip / docker-env Goto Github PK

View Code? Open in Web Editor NEW
83.0 6.0 33.0 14.05 MB

Docker environment for DataGrip testing

License: Apache License 2.0

Shell 62.28% Dockerfile 37.20% SQLPL 0.52%
docker dockerfile db2 derby postgres mysql mssql h2 hsqldb sybase

docker-env's People

Contributors

ignatov avatar tjlee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-env's Issues

version 12.5 available?

Thank you for the configuration.
I would like to find an image with version 12.5. ๐Ÿ™๐Ÿป
Do you have it available?

/opt/mssql/bin/sqlservr-setup: not found

I wasn't able to build the Dockerfile successfully. Having problem in step 6
Step 6/13 : RUN /opt/mssql/bin/sqlservr-setup --accept-eula --set-sa-password ---> Running in d3a93524a9eb /bin/sh: 1: /opt/mssql/bin/sqlservr-setup: not found The command '/bin/sh -c /opt/mssql/bin/sqlservr-setup --accept-eula --set-sa-password' returned a non-zero code: 127
It seems that the latest microsoft/mssql-server-linux does not have sqlservr-setup

Questions about enable_materialized_views and enable_transient_replication

Thanks for providing this useful container.
I have a question about two cassandra configs: enable_materialized_views and enable_transient_replication. It seems the official document says "Materialized views are considered experimental and are not recommended for production use." And the default value for these two parameters are False in the document. They say they will disable them in Cassandra 4.

However, in the latest version of Cassandra (3.11.4), the default value for them are still True, as is the setting in your container's cassandra.yaml.

Shall we disable them manually for now?
Thanks!

Advise on initializing the container for Greenplum

Hi, Looking for any instructions on how to use the docker image for Greenplum.
It seems to get stuck at "Starting (30 sec)"

==== GPINITSYSTEM
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Checking configuration parameters, please wait...
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Reading Greenplum configuration file gpinitsystem_singlenode
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Locale has not been set in gpinitsystem_singlenode, will set to default value
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Locale set to en_US.utf8
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-No DATABASE_NAME set, will exit following template1 updates
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-MASTER_MAX_CONNECT not set, will set to default value 250
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Detected a single host GPDB array build, reducing value of BATCH_DEFAULT from 60 to 4
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[WARN]:-Master open file limit is 1024 should be >= 65535
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Checking configuration parameters, Completed
20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Commencing multi-home checks, please wait...
.20200820:00:30:07:000065 gpinitsystem:greeplum6-f887b7664-x6g5j:gpadmin-[FATAL]:-Unable to contact greeplum6-f887b7664-x6g5j: ping: Lacking privilege for raw socket. Script Exiting!
==== host all all 0.0.0.0/0 trust
/home/gpadmin/install_and_start_gpdb.sh: line 29: /data/master/gpsne-1/pg_hba.conf: No such file or directory
==== RESTARTER
20200820:00:30:07:000377 gpstop:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Starting gpstop with args: -a
20200820:00:30:07:000377 gpstop:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Gathering information and validating the environment...
20200820:00:30:07:000377 gpstop:greeplum6-f887b7664-x6g5j:gpadmin-[CRITICAL]:-gpstop failed. (Reason='[Errno 2] No such file or directory: '/data/master/gpsne-1//postgresql.conf'') exiting...
20200820:00:30:07:000382 gpstart:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Starting gpstart with args: -a
20200820:00:30:07:000382 gpstart:greeplum6-f887b7664-x6g5j:gpadmin-[INFO]:-Gathering information and validating the environment...
20200820:00:30:07:000382 gpstart:greeplum6-f887b7664-x6g5j:gpadmin-[CRITICAL]:-gpstart failed. (Reason='[Errno 2] No such file or directory: '/data/master/gpsne-1//postgresql.conf'') exiting...
/home/gpadmin
==== DONE!
STARTING... (about 30 sec)

Cannot compose sybase docker file

Hi all, I have created an docker compose file like this:

version: '3.0'
services:
  sybase:
    image: datagrip/sybase
    ports:
    - "5000:5000"

However, when running it, I got a message:
=============== CREATING SCHEMA ==========================
Msg 102, Level 15, State 181:
Server 'MYSYBASE', Line 1:
Incorrect syntax near 'tester'.

It seems like there is a problem with the file init3.sql. Could you please help to check?
Btw, I saw some sybase docker, adding schema is ignored (Eg: https://github.com/sercheo87/docker-images/blob/master/sybase/15.7/entrypoint.sh)
Thanks.

hsqldb image license

Hi, could you provide information under which license is the hsqldb image distributed?

datagrip/sybase:16.0 fails to start from time to time

Not really sure what the reason of it - missing extra wait or isql connecting to wrong ip.

Log:

Status: Downloaded newer image for datagrip/sybase:16.0
3bd5ca71f0902fa49d5b463ee0dbab4c886ce55fd1d7bf16d2a822488607887f
CONTAINER ID        IMAGE                  COMMAND             CREATED             STATUS                  PORTS                    NAMES
3bd5ca71f090        datagrip/sybase:16.0   "/entrypoint.sh"    6 seconds ago       Up Less than a second   0.0.0.0:5000->5000/tcp   sybase
STARTING... (about 30 sec)
=============== SYBASE STARTED ==========================
SYBASE_USER: tester
SYBASE_PASSWORD: guest1234
SYBASE_DB: TestDataCore
=============== CREATING LOGIN/PWD ==========================
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed
=============== CREATING DB ==========================
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed
=============== CREATING SCHEMA ==========================
CT-LIBRARY error:
	ct_connect(): network packet layer: internal net library error: Net-Lib protocol driver call to connect two endpoints failed

Stop command no longer required for mssql-server-linux?

Hi,

The trap statement at the end of the entrypoint.sh script contains a stop command that doesn't seem to be working for me:

/opt/mssql/bin/sqlservr stop
This is an evaluation version.  There are [168] days left in the evaluation period.
sqlservr: Another instance of the application is already running.

Perhaps the sqlservr command has changed since the script was written, so an explicit stop is no longer needed?

datagrip/sybase:16.0 character set is iso_1 instead of UTF8

Original dockerfile nguoianphu/docker-sybase uses utf8 but this image is built with iso_1 character set (could be seen in second resultset returned by sp_helpsort).
Was it intentional change or rs file was missing during image build?

We use this image for our tests and it fails couple of unicode-related test for us due to this.

Logic for startup timeout not working

Hi,

The entrypoint.sh script is very useful. However, the logic for the startup timeout is not working for me. The while loop is always taking 30 seconds despite the actual mssql-server instance starting up faster than that.

There seems to be a few problems:

  • the i variable appears to be treated as a string so it is being concatenated instead of incremented
  • the while test to check for the timeout isn't doing the desired logic
  • the string indicating startup has finished has changed

I would be happy to create a pull request, or here are some suggested changes:

#waiting for mssql to start
export STATUS=0
declare -i TIMEOUT=30
declare -i i=0
while [[ $STATUS -eq 0 && (i -lt TIMEOUT) ]]; do
	sleep 1
	i=i+1
	STATUS=$(grep 'Service Broker manager has started' /var/opt/mssql/log/setup*.log | wc -l)
	echo "Waiting $i..."
done

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.