Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

rkt run docker's image mysql, error #4022

Open
1506776593 opened this issue Jan 8, 2020 · 0 comments
Open

rkt run docker's image mysql, error #4022

1506776593 opened this issue Jan 8, 2020 · 0 comments

Comments

@1506776593
Copy link

Environment

rkt Version: 1.29.0
appc Version: 0.8.11
Go Version: go1.8.3
Go OS/Arch: linux/amd64
Features: -TPM +SDJOURNAL

Linux 4.4.0-170-generic x86_64

NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN

rkt run docker's image mysql, error.as follows:

root@ubuntu:/home/rktuser# rkt --insecure-options=image run docker://mysql --set-env=MYSQL_ROOT_PASSWORD=password --set-env=MYSQL_USER=admin
run: group "rkt" not found, will use default gid when rendering images
stage1: warning: no volume specified for mount point "volume-var-lib-mysql", implicitly creating an "empty" volume. This volume will be removed when the pod is garbage-collected.
stage1: Docker converted image, initializing implicit volume with data contained at the mount point "volume-var-lib-mysql".
stage1: warning: error setting journal ACLs, you'll need root to read the pod journal: group "rkt" not found
stage1: warning: no volume specified for mount point "volume-var-lib-mysql", implicitly creating an "empty" volume. This volume will be removed when the pod is garbage-collected.
stage1: Docker converted image, initializing implicit volume with data contained at the mount point "volume-var-lib-mysql".
[98156.882386] mysql[6]: 2020-01-08 07:11:40+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.18-1debian9 started.
[98156.891594] mysql[6]: 2020-01-08 07:11:40+00:00 [ERROR] [Entrypoint]: mysqld failed while attempting to check config
[98156.892346] mysql[6]: command was: mysqld --verbose --help
[98156.892609] mysql[6]: mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied

I hope everyone can help me solve this problem.Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant