Docker 1.9.1 on Ubuntu 14:
docker run --name some-mariadb -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:10.1
Error:
ERROR: 1049 Unknown database 'test'
Extended Info:
Initializing database
2016-02-01 20:06:04 139864276592576 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1jessie) starting as process 50 ...
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Memory barrier is not used
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Using Linux native AIO
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Using SSE crc32 instructions
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Completed initialization of buffer pool
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Database physically writes the file full: wait...
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2016-02-01 20:06:05 139864276592576 [Warning] InnoDB: New log files created, LSN=45883
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Doublewrite buffer not found: creating new
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Doublewrite buffer created
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-01 20:06:05 139864276592576 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Foreign key constraint system tables created
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Creating tablespace and datafile system tables.
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Tablespace and datafile system tables created.
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Waiting for purge to start
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 0
2016-02-01 20:06:05 139863475091200 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-02-01 20:06:07 140263219955648 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1jessie) starting as process 78 ...
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Memory barrier is not used
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Using Linux native AIO
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Using SSE crc32 instructions
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Completed initialization of buffer pool
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Waiting for purge to start
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616799
2016-02-01 20:06:07 140262424676096 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-02-01 20:06:10 140263203276736 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1~jessie) starting as process 107 ...
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Memory barrier is not used
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Using Linux native AIO
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Using SSE crc32 instructions
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Completed initialization of buffer pool
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Waiting for purge to start
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616809
2016-02-01 20:06:10 140262407898880 [Note] InnoDB: Dumping buffer pool(s) not yet started
ERROR: 1049 Unknown database 'test'
2016-02-01 20:06:10 140263203276736 [ERROR] Aborting
Docker 1.9.1 on Ubuntu 14:
docker run --name some-mariadb -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mariadb:10.1
Error:
ERROR: 1049 Unknown database 'test'
Extended Info:
Initializing database
2016-02-01 20:06:04 139864276592576 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1
jessie) starting as process 50 ...jessie) starting as process 78 ...2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Memory barrier is not used
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Using Linux native AIO
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Using SSE crc32 instructions
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Completed initialization of buffer pool
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2016-02-01 20:06:04 139864276592576 [Note] InnoDB: Database physically writes the file full: wait...
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2016-02-01 20:06:05 139864276592576 [Warning] InnoDB: New log files created, LSN=45883
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Doublewrite buffer not found: creating new
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Doublewrite buffer created
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-01 20:06:05 139864276592576 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Foreign key constraint system tables created
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Creating tablespace and datafile system tables.
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Tablespace and datafile system tables created.
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Waiting for purge to start
2016-02-01 20:06:05 139864276592576 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 0
2016-02-01 20:06:05 139863475091200 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-02-01 20:06:07 140263219955648 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Memory barrier is not used
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Using Linux native AIO
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Using SSE crc32 instructions
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Completed initialization of buffer pool
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Waiting for purge to start
2016-02-01 20:06:07 140263219955648 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616799
2016-02-01 20:06:07 140262424676096 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-02-01 20:06:10 140263203276736 [Note] /usr/sbin/mysqld (mysqld 10.1.11-MariaDB-1~jessie) starting as process 107 ...
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: The InnoDB memory heap is disabled
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Memory barrier is not used
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Using Linux native AIO
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Using SSE crc32 instructions
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Completed initialization of buffer pool
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Highest supported file format is Barracuda.
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: 128 rollback segment(s) are active.
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Waiting for purge to start
2016-02-01 20:06:10 140263203276736 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-76.0 started; log sequence number 1616809
2016-02-01 20:06:10 140262407898880 [Note] InnoDB: Dumping buffer pool(s) not yet started
ERROR: 1049 Unknown database 'test'
2016-02-01 20:06:10 140263203276736 [ERROR] Aborting