Skip to content

dockeratom_mysql_1 fails to run out of the box #2

@ravn

Description

@ravn

I'm trying to get this up and running on a fresh checkout on Ubuntu 15.10 with the latest docker and docker-compose.

After cleaning with "docker-compose rm", I ran "docker-compose build" - which completes without any errors, and then "docker-compose up". This gave the following error:

tra@PC599:~/git/docker-atom$ docker-compose up
Creating dockeratom_elasticsearch_1
Creating dockeratom_mysql_1
Creating dockeratom_nginx_1
ERROR: Cannot start container 43729b9ef7a5505db30164f1e4bcff73fca2b065fb46c234edfefecc5ed3cf56: Cannot link to a non running container: /dockeratom_mysql_1 AS /dockeratom_nginx_1/mysql_1

Running docker-compose up again starts the containers but the db instance fails with "dockeratom_mysql_1 exited with code 1". This might be related to the earlier log lines which hints that mysqld is not available.

tra@PC599:~/git/docker-atom$ docker-compose up
dockeratom_elasticsearch_1 is up-to-date
Starting dockeratom_mysql_1
Starting dockeratom_nginx_1
Attaching to dockeratom_elasticsearch_1, dockeratom_mysql_1, dockeratom_nginx_1
mysql_1         | 2015-11-09 12:57:16Running mysql_install_db ...
mysql_1         |  [ERROR]   Can't locate the server executable (mysqld).
mysql_1         | 2015-11-09 12:57:16 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
elasticsearch_1 | [2015-11-09 12:54:37,671][INFO ][node                     ] [Iron Lad] version[2.0.0], pid[1], build[de54438/2015-10-22T08:09:48Z]

I am as yet unfamiliar with Docker. How should I fix this?

(also it appears that the webinterface now runs on port 80, not 8000 as indicated in the README - this might also be me not doing things correctly).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions