Docker를 이용하여 mariadb를 구동하였습니다.
몇가지 작업을 한 후 커밋 후 컨테이너를 재시작하니 초기상태로 돌아갑니다. 서버를 재부팅만 하면 맨처음 상태로되네요.
정식 이미지가 저렇길래 다른 이미지를 받아 컨테이너를 구동해보니 마찬가지입니다.
정식버전은 10.1.12, 다른 테스트 버전은 10.0 이였습니다.
무엇이 문제일까요?
-로그입니다-
컨테이너 종료
2016-03-19 22:44:34 139792407595776 [Note] mysqld: Normal shutdown
2016-03-19 22:44:34 139792407595776 [Note] Event Scheduler: Purging the queue. 0 events
2016-03-19 22:44:35 139791622432512 [Note] InnoDB: FTS optimize thread exiting.
2016-03-19 22:44:35 139792407595776 [Note] InnoDB: Starting shutdown...
2016-03-19 22:44:36 139792407595776 [Note] InnoDB: Shutdown completed; log sequence number 1616839
2016-03-19 22:44:36 139792407595776 [Note] mysqld: Shutdown complete
컨테이너 실행 후 DB 생성
2016-03-19 22:46:24 139698060195776 [Note] mysqld (mysqld 10.1.12-MariaDB-1~jessie) starting as process 136 ...
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Memory barrier is not used
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Using Linux native AIO
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Using SSE crc32 instructions
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Completed initialization of buffer pool
2016-03-19 22:46:24 139698060195776 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-19 22:46:25 139698060195776 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-19 22:46:25 139698060195776 [Note] InnoDB: Waiting for purge to start
2016-03-19 22:46:25 139698060195776 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1616819
2016-03-19 22:46:25 139697292543744 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-03-19 22:46:25 139698060195776 [Note] Plugin 'FEEDBACK' is disabled.
2016-03-19 22:46:25 139698060195776 [Warning] 'user' entry 'root@mariadb-10-1-12' ignored in --skip-name-resolve mode.
2016-03-19 22:46:25 139698060195776 [Warning] 'proxies_priv' entry '@% root@mariadb-10-1-12' ignored in --skip-name-resolve mode.
2016-03-19 22:46:25 139698060195776 [Note] mysqld: ready for connections.
Version: '10.1.12-MariaDB-1~jessie' socket: '/var/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
2016-03-19 22:46:29 139698059717376 [Warning] 'proxies_priv' entry '@% root@mariadb-10-1-12' ignored in --skip-name-resolve mode.
/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2016-03-19 22:46:29 139698059414272 [Note] mysqld: Normal shutdown
2016-03-19 22:46:29 139698059414272 [Note] Event Scheduler: Purging the queue. 0 events
2016-03-19 22:46:29 139697275758336 [Note] InnoDB: FTS optimize thread exiting.
2016-03-19 22:46:29 139698059414272 [Note] InnoDB: Starting shutdown...
2016-03-19 22:46:31 139698059414272 [Note] InnoDB: Shutdown completed; log sequence number 1616829
2016-03-19 22:46:31 139698059414272 [Note] mysqld: Shutdown complete
MySQL init process done. Ready for start up.
2016-03-19 22:46:31 140354314000320 [Note] mysqld (mysqld 10.1.12-MariaDB-1~jessie) starting as process 1 ...
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: The InnoDB memory heap is disabled
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Memory barrier is not used
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Using Linux native AIO
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Using SSE crc32 instructions
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Initializing buffer pool, size = 256.0M
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Completed initialization of buffer pool
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Highest supported file format is Barracuda.
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: 128 rollback segment(s) are active.
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Waiting for purge to start
2016-03-19 22:46:31 140354314000320 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1616829
2016-03-19 22:46:32 140353545930496 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-03-19 22:46:32 140354314000320 [Note] Plugin 'FEEDBACK' is disabled.
2016-03-19 22:46:32 140354314000320 [Note] Server socket created on IP: '::'.
2016-03-19 22:46:32 140354314000320 [Warning] 'proxies_priv' entry '@% root@mariadb-10-1-12' ignored in --skip-name-resolve mode.
2016-03-19 22:46:32 140354314000320 [Note] mysqld: ready for connections.
Version: '10.1.12-MariaDB-1~jessie' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2016-03-19 22:49:18 140354313218816 [Note] mysqld: Normal shutdown
2016-03-19 22:49:18 140354313218816 [Note] Event Scheduler: Purging the queue. 0 events
2016-03-19 22:49:18 140353529145088 [Note] InnoDB: FTS optimize thread exiting.
2016-03-19 22:49:18 140354313218816 [Note] InnoDB: Starting shutdown...
2016-03-19 22:49:20 140354313218816 [Note] InnoDB: Shutdown completed; log sequence number 1616839
2016-03-19 22:49:20 140354313218816 [Note] mysqld: Shutdown complete