jkhsjdhjs commented on issue #54:
URL: https://github.com/apache/couchdb-docker/issues/54#issuecomment-643822973
Thanks for your quick reply! With your solution I'd have to switch to an
image where the `docker` command is available. I was using the `python:3.6`
image and switched to `gitlab/dind` to test your solution.
Docker setup doesn't really seem to work:
```
2020-06-14T21:01:49.968285094Z mount: permission denied (are you root?)
2020-06-14T21:01:49.968306194Z Could not mount /sys/kernel/security.
2020-06-14T21:01:49.968317594Z AppArmor detection and --privileged mode
might break.
2020-06-14T21:01:49.969062288Z mount: permission denied (are you root?)
```
Afterwards it downloads the docker image just fine, but is unable to start
it:
```
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
{"Kernel pid
terminated",application_controller,"{application_start_failure,config,{{shutdown,{failed_to_start_child,config,{{case_clause,{error,eisdir}},[{config,parse_ini_file,1,[{file,\"src/config.erl\"},{line,336}]},{config,'-init/1-fun-0-',1,[{file,\"src/config.erl\"},{line,228}]},{lists,map,2,[{file,\"lists.erl\"},{line,1239}]},{lists,map,2,[{file,\"lists.erl\"},{line,1239}]},{config,init,1,[{file,\"src/config.erl\"},{line,227}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,247}]}]}}},{config_app,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller)
({application_start_failure,config,{{shutdown,{failed_to_start_child,config,{{case_clause,{error,eisdir}},[{config,parse_ini_file,1,[{file,"src/config.er
Crash dump is being written to: erl_crash.dump...done
/dev/mapper/control: open failed: Operation not permitted
00:02
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Command failed
mount: permission denied
Could not mount /sys/kernel/security.
AppArmor detection and --privileged mode might break.
mkdir: cannot create directory '/sys/fs/cgroup/name=systemd': Read-only file
system
mount: mount point /sys/fs/cgroup/name=systemd is not a directory
ln: failed to create symbolic link '/sys/fs/cgroup/systemd/name=systemd':
Read-only file system
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]