-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build success but throw exception when run it #50
Comments
@zacker330 can't say what the issue is. please rebuild and try again |
@zacker330 try running with |
@sameersbn I try
I'd try it again and again. $docker info |
@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. 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. |
@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 |
@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 |
@sameersbn I can't dive in it. |
@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. |
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 |
@sameersbn thinks very much |
xx@xx:
/samersbn-gitlab/docker-gitlab$ docker run -i -d -P -t xxx/gitlab/samersbn-gitlab/docker-gitlab$ docker logs -f ec6d1a10f50ec6d1a10f50e6b6e942ca41e45cc39d8c2f0270c68ae26c51eb40ab6d8f14132
xx@xx:
User: root Password: niegae9nae9Y
sshd: started
nginx: started
mysqld: ERROR (abnormal termination)
The text was updated successfully, but these errors were encountered: