Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plesk/plesk:latest (18.0) does not work as documented #47

Closed
neurolabs opened this issue Jun 22, 2024 · 4 comments
Closed

plesk/plesk:latest (18.0) does not work as documented #47

neurolabs opened this issue Jun 22, 2024 · 4 comments

Comments

@neurolabs
Copy link

When I follow the documentation to get a test container going, I end up with:

docker run -it --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 80:80 -p 443:443 -p 8880:8880 -p 8443:8443 -p 8447:8447 plesk/plesk

systemd 245.4-4ubuntu3.23 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
Detected virtualization docker.
Detected architecture x86-64.

Welcome to Ubuntu 20.04.6 LTS!

Set hostname to <d8abe117f0a4>.
Failed to create /init.scope control group: Read-only file system
Failed to allocate manager object: Read-only file system
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...
@etlam
Copy link
Contributor

etlam commented Jul 22, 2024

Same here on

  • Ubuntu 22 LTS
  • Docker version 27.0.3, build 7d4bcd8

@vizovitin @sibprogrammer Can you please have a look on this. This issue seems to be a duplicate of #46.

@vizovitin
Copy link
Contributor

You could try removing :ro from the command line.

Also it's useful to ensure the system and docker are up-to-date.

@sibprogrammer
Copy link
Member

Try the following (notice the cgroupns argument and absence of :ro):

docker run -d --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup --cgroupns=host -p 8880:8880 plesk/plesk

@etlam
Copy link
Contributor

etlam commented Jul 23, 2024

Failed to create /init.scope control group: Read-only file system
Failed to allocate manager object: Read-only file system
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...

Works! Thank you!

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

No branches or pull requests

4 participants