Skip to content

Unable to run without the --privileged option #7

@toutoumeteo

Description

@toutoumeteo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions