docker-symfony icon indicating copy to clipboard operation
docker-symfony copied to clipboard

mysql does'nt run on docker-machine

Open nietzscheson opened this issue 8 years ago • 0 comments

I'm run docker-compose up --build -d and the mysql container not run. It's exited:

77ae1742b530        mysql               "docker-entrypoint..."   7 minutes ago       Exited (1) 7 minutes ago                                             docker_db_1
8b5bab8e8f0b        eugenmayer/unison   "/entrypoint.sh su..."   15 minutes ago      Up 15 minutes              500/tcp, 192.168.99.100:32768->5000/tcp   app-sync
bdaf31c50d92        willdurand/elk      "/usr/bin/supervis..."   15 minutes ago      Up 15 minutes              0.0.0.0:81->80/tcp                        docker_elk_1
f4d8da863781        docker_nginx        "nginx"                  15 minutes ago      Up 15 minutes              0.0.0.0:80->80/tcp, 443/tcp               docker_nginx_1
bf9df980de74        docker_php          "docker-php-entryp..."   15 minutes ago      Up 15 minutes              9000/tcp                                  docker_php_1

The logs of the container docker logs 77ae1742b530;

2017-08-28T16:36:34.006312Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-08-28T16:36:34.008060Z 0 [Warning] Can't create test file /var/lib/mysql/77ae1742b530.lower-test
2017-08-28T16:36:34.008398Z 0 [Note] mysqld (mysqld 5.7.19) starting as process 1 ...
2017-08-28T16:36:34.014280Z 0 [Warning] Can't create test file /var/lib/mysql/77ae1742b530.lower-test
2017-08-28T16:36:34.014781Z 0 [Warning] Can't create test file /var/lib/mysql/77ae1742b530.lower-test
2017-08-28T16:36:34.019741Z 0 [Note] InnoDB: PUNCH HOLE support available
2017-08-28T16:36:34.019989Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-08-28T16:36:34.020013Z 0 [Note] InnoDB: Uses event mutexes
2017-08-28T16:36:34.020031Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-08-28T16:36:34.020046Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-08-28T16:36:34.020060Z 0 [Note] InnoDB: Using Linux native AIO
2017-08-28T16:36:34.033325Z 0 [Note] InnoDB: Number of pools: 1
2017-08-28T16:36:34.034769Z 0 [Note] InnoDB: Using CPU crc32 instructions
2017-08-28T16:36:34.037023Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-08-28T16:36:34.054841Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-08-28T16:36:34.057033Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-08-28T16:36:34.067414Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2017-08-28T16:36:34.067542Z 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
2017-08-28T16:36:34.067568Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2017-08-28T16:36:34.669620Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2017-08-28T16:36:34.669655Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-08-28T16:36:34.669660Z 0 [ERROR] Failed to initialize plugins.
2017-08-28T16:36:34.669663Z 0 [ERROR] Aborting

2017-08-28T16:36:34.669669Z 0 [Note] Binlog end
2017-08-28T16:36:34.669930Z 0 [Note] Shutting down plugin 'CSV'
2017-08-28T16:36:34.671131Z 0 [Note] mysqld: Shutdown complete

nietzscheson avatar Aug 28 '17 16:08 nietzscheson