docker mysql启动失败,无法创建临时文件,权限被拒绝

docker mysql启动失败,无法创建临时文件,权限被拒绝,mysql,docker,Mysql,Docker,ubuntu 14.04 docker 1.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:4

ubuntu 14.04
docker 1.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

有人有什么建议吗?

看看这是否有帮助->太奇怪了!当我重新启动可视化机器时,命令会起作用。。。