You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.
I want to run mysql:5.7 through hyperctl run --env MYSQL_ROOT_PASSWORD=root -d mysql:5.7, but get an error:
2018-01-29T04:44:50.700100Z 0 [ERROR] Can't start server : Bind on unix socket: No such device or address2018-01-29T04:44:50.701281Z 0 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ?2018-01-29T04:44:50.702683Z 0 [ERROR] Aborting
When I get into container, I find there is a different between docker run & hyper run:
$ docker run -ti mysql:5.7 bash
$ cd /var/lib/
$ ls -lah
drwxr-xr-x 2 mysql mysql 4.0K Jan 29 04:52 mysql
drwxrwx--- 2 mysql mysql 4.0K Jan 15 21:46 mysql-files
drwxr-x--- 2 mysql mysql 4.0K Jan 15 21:46 mysql-keyring
$ hyperctl run -t mysql:5.7 bash
$ cd /var/lib/
$ ls -lah
drwxr-xr-x 2 root root 4.0K Jan 29 04:56 mysql
drwxrwx--- 2 mysql mysql 4.0K Jan 15 21:46 mysql-files
drwxr-x--- 2 mysql mysql 4.0K Jan 15 21:46 mysql-keyring
Notice the owner of dir mysql is different, how to solve this problem? I have confirmed these two mysql:5.7 are the same officially supported.
Thanks!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to run
mysql:5.7
throughhyperctl run --env MYSQL_ROOT_PASSWORD=root -d mysql:5.7
, but get an error:When I get into container, I find there is a different between
docker run
&hyper run
:Notice the owner of dir
mysql
is different, how to solve this problem? I have confirmed these twomysql:5.7
are the same officially supported.Thanks!
The text was updated successfully, but these errors were encountered: