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

Unable to run without the --privileged option #7

Open
toutoumeteo opened this issue Nov 15, 2024 · 1 comment
Open

Unable to run without the --privileged option #7

toutoumeteo opened this issue Nov 15, 2024 · 1 comment

Comments

@toutoumeteo
Copy link

Thanks for the demo, it is very useful. I was able to connect with thinlinc but with the --privileged option. When I tried the Pro Tip I have the following error. Any ideas of what the problem could be? I am running on a MacBook Monterey 12.7.6 and Docker desktop 4.35.1. Thanks and best regards!

docker run -v /sys/fs/cgroup/:/sys/fs/cgroup:ro
--tmpfs /run --tmpfs /run/lock
--pull=always
--cap-add SYS_PTRACE --cap-add SYS_ADMIN
--name my-tl-demo --publish 9922:22 -t
oposs/tl-ubuntu
latest: Pulling from oposs/tl-ubuntu
Digest: sha256:9f927aadff367a7186f02f24806e344f01d8862cc67dba83272a99edbb353cf7
Status: Image is up to date for oposs/tl-ubuntu:latest
systemd 249.11-0ubuntu3.12 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Detected virtualization docker.
Detected architecture x86-64.

Welcome to Ubuntu 22.04.4 LTS!

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...
make: *** [image_unprivileged] Error 255

@oetiker
Copy link
Member

oetiker commented Nov 18, 2024 via email

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

2 participants