Docker container fails to start

Trying to start the official Docker image using the following command

docker run -t -p 127.0.0.1:9980:9980 -e 'domain=www\\.dummy\\.com' --restart always --cap-add MKNOD collabora/code

… fails with the following error message:

Generating RSA private key, 2048 bit long modulus
.............................................+++
......................................+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
.........................................................+++
.....+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
wsd-00027-00027 18:42:08.682953 [ loolwsd ] ERR  Failed to write to pipe. Data: [setconfig limit_virt_mem_mb 0
setconfig limit_stack_mem_kb 8000
setconfig limit_file_size_mb 50
]. (errno: Bad file descriptor)| common/IoUtil.cpp:200
frk-00029-00029 18:42:08.689519 [ forkit ] ERR  Failed to set RLIMIT_NOFILE to 52428800 bytes. (errno: Operation not permitted)| common/Seccomp.cpp:273
loolforkit version details: 2.1.3 - 277d2b8
frk-00029-00029 18:42:08.689564 [ forkit ] FTL  Capability cap_sys_chroot is not set for the loolforkit program.| kit/ForKit.cpp:168
frk-00029-00029 18:42:08.689601 [ forkit ] FTL  Capability cap_mknod is not set for the loolforkit program.| kit/ForKit.cpp:168
frk-00029-00029 18:42:08.689630 [ forkit ] FTL  Capability cap_fowner is not set for the loolforkit program.| kit/ForKit.cpp:168
FATAL: Capabilities are not set for the loolforkit program.
If you are on SLES11, please set 'file_caps=1' as kernel boot option.

wsd-00027-00027 18:42:58.685546 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2563
FATAL: Failed to fork child processes.
wsd-00027-00027 18:42:58.685863 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2707
Failed to fork child processes.
wsd-00027-00027 18:42:58.686146 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-00027-00027 18:42:58.686198 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.686748 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.686772 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.686787 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.686802 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.686816 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.686829 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.687333 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00027 18:42:58.687368 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507

Debian 8 x64.

Any more information needed? Thanks for any hint.

1 Like

Hi, i’m having the same issue on ubundu 16.04 LTS:

Generating RSA private key, 2048 bit long modulus
…+++
…+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
…+++
…+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
frk-00029-00029 19:40:55.592382 [ forkit ] ERR Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
frk-00029-00029 19:40:55.592781 [ forkit ] ERR Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
loolforkit version details: 2.1.4 - b4b777d

Then, when accessing collabora, here’s what i get:

office version details: { “ProductName”: “Collabora Office”, “ProductVersion”: “5.3”, “ProductExtension”: “.10.28”, “BuildId”: “d66704ff6eb7b7b2a62ea279e3599dc235c67810” }
wsd-00027-00028 19:41:37.078098 [ prisoner_poll ] WRN ForKit not responsive for 41521 ms forking 1 children. Resetting.| wsd/LOOLWSD.cpp:339

Does anybody here can help? Many thanks!

@psanf

Hi,
I’m having the same issue (on Debian 9). Did you find a solution ?
Thanks

Having the same issue on Ubuntu 16.04. Fresh install of docker and use of the official guide.

The container starts successfully but if I look the logs, I get:

Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
frk-00027-00027 09:22:17.526338 [ forkit ] ERR  Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
frk-00027-00027 09:22:17.526814 [ forkit ] ERR  Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
loolforkit version details: 2.1.4 - b4b777d
office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.3", "ProductExtension": ".10.28", "BuildId": "d66704ff6eb7b7b2a62ea279e3599dc235c67810" }
wsd-00025-00026 09:23:00.918508 [ prisoner_poll ] WRN  ForKit not responsive for 43421 ms forking 1 children. Resetting.| wsd/LOOLWSD.cpp:339

And obviously it doesn’t work in Nextcloud after that.

If someone has a solution to this, you’re welcome :slight_smile:

(even if the install of collabora has to be done without docker !)

Same issue here on Mac OS X, Docker version 17.09.0-ce, build afdb6d4, following the instructions on https://www.collaboraoffice.com/code/:

Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
frk-00028-00028 15:23:03.283492 [ forkit ] ERR  Ignored setting RLIMIT_FSIZE to 18446744073709551615 bytes. (errno: Success)| common/Seccomp.cpp:284
frk-00028-00028 15:23:03.283759 [ forkit ] ERR  Ignored setting RLIMIT_NOFILE to 18446744073709551615 files. (errno: Success)| common/Seccomp.cpp:306
loolforkit version details: 2.1.4 - b4b777d
kit-00030-00028 15:23:04.838742 [ loolkit ] ERR  Poco Exception: File access error: no space left on device: /opt/lool/child-roots/l940YN35YEvKaz5L| kit/Kit.cpp:2069
wsd-00026-00026 15:23:53.276453 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2623
FATAL: Failed to fork child processes.
wsd-00026-00026 15:23:53.277542 [ loolwsd ] FTL  Failed to fork child processes.| wsd/LOOLWSD.cpp:2770
Failed to fork child processes.
wsd-00026-00026 15:23:53.278568 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-00026-00026 15:23:53.279314 [ loolwsd ] WRN  Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.281034 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.281264 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.281301 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.281410 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.281580 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.281613 [ loolwsd ] WRN  Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.282785 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
<shutdown>-00026 15:23:53.282836 [ loolwsd ] WRN  Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
frk-00028-00028 15:23:53.285317 [ forkit ] FTL  Pipe closed.| common/IoUtil.cpp:309

Docker Info:

$ docker info
Containers: 10
 Running: 4
 Paused: 0
 Stopped: 6
Images: 88
Server Version: 17.09.0-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 194
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.49-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 1.952GiB
Name: moby
ID: S3KG:LCXJ:YZLU:KHG3:H76Q:OXCF:YA74:J7XO:QNF5:OJKG:5GAR:35QK
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 47
 Goroutines: 47
 System Time: 2017-11-13T15:28:24.753990009Z
 EventsListeners: 1
No Proxy: *.local, 169.254/16
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

If it helps, NextCloudPi is now also packed as an x86 docker container