Also, if it helps, this is the docker info on the server:
# docker info
Client:
Context: default
Debug Mode: false
Server:
Containers: 2
Running: 0
Paused: 0
Stopped: 2
Images: 5
Server Version: 20.10.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: nvidia runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
apparmor
seccomp
Profile: default
cgroupns
Kernel Version: 5.15.0-41-generic
Operating System: Ubuntu 22.04 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 5.797GiB
Name: maji
ID: OIRP:TYAE:HIPS:SIF3:NZRF:22QI:GO5A:64A4:OP2O:ALVA:PPLN:4TOH
Docker Root Dir: /data/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
I’m running the launcher as root. Now, I’ve been running all sorts of docker containers in machines with the same configuration, and I haven’t had any issues.
Now, I’m not sure if the problem could be potentially file permissions, the error doesn’t lead me to think that at all.
/opt/discourse# ls -la
total 140
drwxr-xr-x 14 root root 4096 Jul 24 01:26 .
drwxr-xr-x 7 root root 4096 Jul 15 07:23 ..
drwxr-xr-x 8 root root 4096 Jul 24 02:30 .git
drwxr-xr-x 3 root root 4096 Jul 15 07:23 .github
-rw-r--r-- 1 root root 309 Jul 15 07:23 .gitignore
-rw-r--r-- 1 root root 1099 Jul 15 07:23 LICENSE
-rw-r--r-- 1 root root 8285 Jul 15 07:23 README.md
drwxr-xr-x 2 root root 4096 Jul 15 07:23 bin
drwxr-xr-x 2 root root 4096 Jul 24 02:34 cids
drwxr-xr-x 2 root root 4096 Jul 24 02:30 containers
-rwxr-xr-x 1 root root 11956 Jul 15 07:23 discourse-doctor
-rwxr-xr-x 1 root root 27053 Jul 15 07:23 discourse-setup
drwxr-xr-x 8 root root 4096 Jul 15 07:23 image
-rwxr-xr-x 1 root root 22547 Jul 15 07:23 launcher
drwxr-xr-x 2 root root 4096 Jul 24 01:39 samples
drwxr-xr-x 2 root root 4096 Jul 15 07:23 scripts
drwxr-xr-x 2 root root 4096 Jul 15 07:23 shared
drwxr-xr-x 3 root root 4096 Jul 15 07:23 templates
drwxr-xr-x 2 root root 4096 Jul 15 07:23 tests
/opt/discourse# ls -la containers/
total 16
drwxr-xr-x 2 root root 4096 Jul 24 02:30 .
drwxr-xr-x 14 root root 4096 Jul 24 01:26 ..
-rw-r--r-- 1 root root 0 Jul 15 07:23 .gitkeep
-rw-r--r-- 1 root root 1258 Jul 24 02:08 data.yml
-rw-r--r-- 1 root root 3542 Jul 24 02:30 web.yml
/opt/discourse# cd /data/discourse/
/data/discourse# ls -la
total 16
drwxr-xr-x 4 root root 4096 Jul 24 02:06 .
drwxr-xr-x 5 root root 4096 Jul 23 11:58 ..
drwxr-xr-x 6 root root 4096 Jul 24 02:09 data
drwxr-xr-x 7 root root 4096 Jul 24 02:34 web