Git Product home page Git Product logo

docker-images's Introduction

Hi there ๐Ÿ‘‹ I'm Zaki

  • ๐Ÿ‘จโ€๐Ÿ’ป I'm a Group Product Manager at Microsoft
  • ๐Ÿ’ฌ Ask me about M365 Platform, Autonomous AI, and Product Making
  • ๐Ÿ› ๏ธ Toolchain I use to build apps Linux, Python, JavaScript & Bash
  • ๐Ÿ“ซ Check out simplyzaki.com

docker-images's People

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

Watchers

 avatar  avatar

docker-images's Issues

Teething troubles

Hello sir, may I call you Zak?

I've been experimenting with precise-cassandra-titan as pulled from the Docker index.

I run with:

sudo docker run -d khanio/precise-cassandra-titan

And the container shows up with docker ps.

I had trouble connecting so looked at the logs:

root@602806c13c3f:/# 2013-11-03 22:36:39,672 CRIT Supervisor running as root (no user in config file)
2013-11-03 22:36:39,673 WARN Included extra file "/etc/supervisor/conf.d/rexster-server.conf" during parsing
2013-11-03 22:36:39,673 WARN Included extra file "/etc/supervisor/conf.d/elasticsearch.conf" during parsing
2013-11-03 22:36:39,673 WARN Included extra file "/etc/supervisor/conf.d/cassandra.conf" during parsing
2013-11-03 22:36:39,673 WARN Included extra file "/etc/supervisor/conf.d/sshd.conf" during parsing
2013-11-03 22:36:39,699 INFO RPC interface 'supervisor' initialized
2013-11-03 22:36:39,700 WARN cElementTree not installed, using slower XML parser for XML-RPC
2013-11-03 22:36:39,700 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2013-11-03 22:36:39,701 INFO supervisord started with pid 15
2013-11-03 22:36:40,708 INFO spawned: 'rexster-server' with pid 16
2013-11-03 22:36:40,709 INFO spawned: 'sshd' with pid 17
2013-11-03 22:36:40,711 INFO spawned: 'elasticsearch' with pid 18
2013-11-03 22:36:40,714 INFO spawned: 'cassandra' with pid 19
2013-11-03 22:36:40,750 INFO exited: rexster-server (exit status 0; not expected)
2013-11-03 22:36:40,760 INFO exited: elasticsearch (exit status 0; not expected)
2013-11-03 22:36:40,960 INFO exited: cassandra (exit status 0; not expected)
2013-11-03 22:36:41,966 INFO spawned: 'rexster-server' with pid 168
2013-11-03 22:36:41,966 INFO success: sshd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2013-11-03 22:36:41,968 INFO spawned: 'elasticsearch' with pid 169
2013-11-03 22:36:41,970 INFO spawned: 'cassandra' with pid 170
2013-11-03 22:36:42,004 INFO exited: rexster-server (exit status 0; not expected)
2013-11-03 22:36:42,006 INFO exited: elasticsearch (exit status 0; not expected)
2013-11-03 22:36:42,340 INFO exited: cassandra (exit status 0; not expected)
2013-11-03 22:36:44,346 INFO spawned: 'rexster-server' with pid 280
2013-11-03 22:36:44,354 INFO spawned: 'elasticsearch' with pid 281
2013-11-03 22:36:44,357 INFO spawned: 'cassandra' with pid 282
2013-11-03 22:36:44,382 INFO exited: elasticsearch (exit status 0; not expected)
2013-11-03 22:36:44,412 INFO exited: rexster-server (exit status 0; not expected)
2013-11-03 22:36:44,724 INFO exited: cassandra (exit status 0; not expected)
2013-11-03 22:36:47,761 INFO spawned: 'rexster-server' with pid 524
2013-11-03 22:36:47,783 INFO spawned: 'elasticsearch' with pid 525
2013-11-03 22:36:47,791 INFO spawned: 'cassandra' with pid 526
2013-11-03 22:36:47,850 INFO exited: elasticsearch (exit status 0; not expected)
2013-11-03 22:36:47,874 INFO gave up: elasticsearch entered FATAL state, too many start retries too quickly
2013-11-03 22:36:47,911 INFO exited: rexster-server (exit status 0; not expected)
2013-11-03 22:36:48,191 INFO gave up: rexster-server entered FATAL state, too many start retries too quickly
2013-11-03 22:36:48,236 INFO exited: cassandra (exit status 0; not expected)
2013-11-03 22:36:49,242 INFO gave up: cassandra entered FATAL state, too many start retries too quickly

I see the same logs printed if I do not put the container in -d mode.

Do you have any thoughts about what might be causing this? I've gone back a second time to grab the image, and get the same behaviour.

If I can get this working, I'll be happy to use it and contribute to your Dockerfiles. It's the most comprehensive I have found, and the doc is useful. Thank you.

Best regards from a cold and rainy London,

--r

Edit:
I forgot to say that I did stop the docker service, and ran

sudo echo "limit nofile 262144 262144" >> /etc/init/docker.conf
--r.

Still having problem connecting to cassandra

Hi Zaki,
I'm trying to get cqlengine (https://github.com/cqlengine/cqlengine) to connect to cassandra.

Here is my test:
https://github.com/gremlins/shipyard/blob/master/initial_tests/initial_tests/test.py

With or without username/password on lines 16-17, I get what looks like a password issue during connect:

$ python test.py
Traceback (most recent call last):
  File "test.py", line 22, in <module>
    sync_table(ExampleModel)
  File "/home/vagrant/shipyard/initial_tests/local/lib/python2.7/site-packages/cqlengine/management.py", line 73, in sync_table
    create_keyspace(ks_name)
  File "/home/vagrant/shipyard/initial_tests/local/lib/python2.7/site-packages/cqlengine/management.py", line 31, in create_keyspace
    _, keyspaces = con.execute("""SELECT keyspace_name FROM system.schema_keyspaces""", {})
  File "/home/vagrant/shipyard/initial_tests/local/lib/python2.7/site-packages/cqlengine/connection.py", line 222, in execute
    raise CQLEngineException("Could not execute query against the cluster")
cqlengine.exceptions.CQLEngineException: Could not execute query against the cluster
(initial_tests)vagrant@precise64:~/shipyard/initial_tests/initial_tests$

I'm assuming that the default cassandra username and password apply.

I also suspect that contrary to your doc, the ubuntu password on the Docker image may be other than ubuntu.

Best regards,

--r

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.