docker的mysql启动失败,无法创build临时文件,权限被拒绝
Ubuntu 14.04
docker1.8.2
mysql是最新的官方图片
这是我的命令
vm:~$ docker run --name mysql -d -e MYSQL_ROOT_PASSWORD=123456 mysql
和提示:
Running mysql_install_db 2015-09-22 08:42:13 0 [Note] /usr/sbin/mysqld (mysqld 5.6.26) starting as process 15 ... 2015-09-22 08:42:13 15 [Note] InnoDB: Using atomics to ref count buffer pool pages 2015-09-22 08:42:13 15 [Note] InnoDB: The InnoDB memory heap is disabled 2015-09-22 08:42:13 15 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2015-09-22 08:42:13 15 [Note] InnoDB: Memory barrier is not used 2015-09-22 08:42:13 15 [Note] InnoDB: Compressed tables use zlib 1.2.7 2015-09-22 08:42:13 15 [Note] InnoDB: Using Linux native AIO 2015-09-22 08:42:13 15 [Note] InnoDB: Using CPU crc32 instructions /usr/sbin/mysqld: Can't create/write to file '/tmp/ibhzPhSc' (Errcode: 13 - Permission denied) 2015-09-22 08:42:13 7f962ed20720 InnoDB: Error: unable to create temporary file; errno: 13 2015-09-22 08:42:13 15 [ERROR] Plugin 'InnoDB' init function returned error. 2015-09-22 08:42:13 15 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2015-09-22 08:42:13 15 [ERROR] Unknown/unsupported storage engine: InnoDB 2015-09-22 08:42:13 15 [ERROR] Aborting 2015-09-22 08:42:13 15 [Note] Binlog end 2015-09-22 08:42:13 15 [Note] /usr/sbin/mysqld: Shutdown complete
任何人有build议?
- 自动部署Docker图像,这是在PHP技术
- 如何将Docker容器移动到AWS
- Flocker:我如何提供一个自定义的/etc/mongodb.conf文件?
- 在Docker中扩展mysql
- Bitbucketpipe道:没有工具链在NDK工具链文件夹中findABI的前缀:aarch64-linux-android
- 为什么连接到Google Cloud SQL在Docker容器内失败,但在Docker容器外部成功?
- Docker虚拟机时间不是主机操作系统时间
- 是否可以在具有不同子域和相同侦听端口(80)的单个主机上部署多个容器?
- MessageListenerContainer在docker env中不会侦听redis sentinel中的master redis实例