Code Monkey home page Code Monkey logo

Comments (10)

sameersbn avatar sameersbn commented on May 18, 2024

@zacker330 can't say what the issue is. please rebuild and try again

from docker-gitlab.

sameersbn avatar sameersbn commented on May 18, 2024

@zacker330 try running with docker run -i -t xxx/gitlab

from docker-gitlab.

zacker330 avatar zacker330 commented on May 18, 2024

@sameersbn I try

  1. clone your sameersbn/docker-gitlab
  2. docker build -t xxxx/gitlab . (success)
  3. docker run -i -t xxx/gitlab
    User: root Password: zooph8cieNex
    sshd: started
    nginx: started
    mysqld: ERROR (abnormal termination)

I'd try it again and again.

$docker info
Containers: 36
Images: 274
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Dirs: 349
Execution Driver: native-0.1
Kernel Version: 3.8.0-35-generic
Username: xxx
Registry: [https://index.docker.io/v1/]
WARNING: No swap limit support

from docker-gitlab.

sameersbn avatar sameersbn commented on May 18, 2024

@zacker330 i see that you have an unusually large number of stopped containers on your system. probably you didn't mean to keep them. Please remove these containers and try again.

docker rm $(docker ps -a -q)

Above command will delete all non running containers.
If you wish to remove untagged images, you can remove them using

docker rmi $(docker images | grep none | awk '{print $3}' | sort -r)

I have noticed that having too many containers / images can really have a negative effect in docker. I am guessing this could be a cause of the issue you are seeing.

from docker-gitlab.

zacker330 avatar zacker330 commented on May 18, 2024

@sameersbn thinks .

I had done it as you said. but the problem not be solved. It seems cause by mysql. I can't run mysql's image yet.

My operation system is ubuntu 13.04

from docker-gitlab.

sameersbn avatar sameersbn commented on May 18, 2024

@zacker330 then i think we should dive in an check out what is going wrong

docker run -i -t --rm xxx/gitlab bash
```bash

You will be dropped into the bash shell. Make sure mysql server is not started
```bash
supervisorctl stop mysqld
killall mysqld

Manually start mysqld server

/usr/bin/mysqld_safe &

If the mysql server is not starting, check the error log

cat /var/log/mysql/error.log

Paste the log here

from docker-gitlab.

zacker330 avatar zacker330 commented on May 18, 2024

@sameersbn
docker run -i -t --rm xxx/gitlab bash

I can't dive in it.

from docker-gitlab.

sameersbn avatar sameersbn commented on May 18, 2024

@zacker330 can you paste the output here. Its not possible for me to figure out what you are not being dropped into the bash shell.

from docker-gitlab.

sameersbn avatar sameersbn commented on May 18, 2024

ps. the mysql server is destined to be removed from the container. so instead try using a linked mysql server. Details can be found here. However I would recommend linking a postgresql container https://github.com/sameersbn/docker-gitlab#linking-to-postgresql-container

from docker-gitlab.

zacker330 avatar zacker330 commented on May 18, 2024

@sameersbn thinks very much

from docker-gitlab.

Related Issues (20)

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.