cytopia / devilbox

A modern Docker LAMP stack and MEAN stack for local development
http://devilbox.org
MIT License
4.37k stars 654 forks source link

there isn't connect to internet inside container #852

Closed krllgranin closed 2 years ago

krllgranin commented 2 years ago

ISSUE TYPE

Checklist

OS / ENVIRONMENT

  1. Host operating system and version: Fedora 35
  2. (Windows only) Native Docker or Docker Toolbox:
  3. Docker version: 20.10.10, build b485636
  4. Docker Compose version: 1.29.2, build 5becea4c
  5. (Linux) Is SELinux enabled?: yes
  6. What git commit hash are you on?: 23a6aed1

SUMMARY

I can't connect to internet inside container.

STEPS TO REPRODUCE

  1. install devilbox by docs;
  2. set MOUNT_OPTIONS=,z (because there is selenux in the fedora);
  3. docker-compose up -d;
  4. go to container.
  5. any actions with internet. For instance composer global require "laravel/installer=~1.1" or ping google.com

EXPECTED BEHAVIOUR

Internet is worked inside container

ACTUAL BEHAVIOUR

Internet isn't worked inside container

Screenshot from 2021-11-10 18-16-36

OTHER INFORMATION

If I pull, for instance, ubuntu container and go to container internet works inside ubuntu. But if I use devilbox it isn't work. Other things work well.

Start command

$ docker-compose up -d

Outputs

$ ./check-config.sh

# ==============================================================================
# Checking git
# ==============================================================================
[SUCC]  git is clean

# ==============================================================================
# Checking .env file
# ==============================================================================
[SUCC]  .env file exists
[SUCC]  .env file is readable
[SUCC]  All variables are present in .env file
[SUCC]  No variables is duplicated in .env file

# ==============================================================================
# Checking .env file values
# ==============================================================================
[SUCC]  All .env file variables have correct values

# ==============================================================================
# Checking required Devilbox core directories exist
# ==============================================================================
[SUCC]  All PHP cfg/ sub directories are present
[SUCC]  All PHP log/ sub directories are present
[SUCC]  All PHP mod/ sub directories are present
[SUCC]  All HTTPD cfg/ sub directories are present
[SUCC]  All HTTPD log/ sub directories are present

# ==============================================================================
# Checking devilbox core directory permissions
# ==============================================================================
[SUCC]  All devilbox directories have correct permissions
[SUCC]  All devilbox directories have correct uid
[SUCC]  All devilbox directories have correct gid

# ==============================================================================
# Checking devilbox core file permissions
# ==============================================================================
[SUCC]  All devilbox files have correct permissions
[SUCC]  All devilbox files have correct uid
[SUCC]  All devilbox files have correct gid

# ==============================================================================
# Checking projects permissions
# ==============================================================================
[SUCC]  All project dirs have correct permissions
[SUCC]  All project dirs have correct uid
[SUCC]  All project dirs have correct gid

# ==============================================================================
# Checking projects settings
# ==============================================================================
[SUCC]  All projects have valid DNS records
[SUCC]  All projects have valid HTTPD_DOCROOT_DIR

# ==============================================================================
# Checking customizations
# ==============================================================================
[INFO]  No custom configurations applied

# ==============================================================================
# SUMMARY
# ==============================================================================
[SUCC]  Found no errors
[INFO]  No custom configurations applied
[INFO]  Ensure to run 'docker-compose stop; docker-compose rm -f' on .env changes or custom configs
$ docker-compose logs

[granin@mainsail devilbox]$ docker-compose up
devilbox_bind_1 is up-to-date
Starting devilbox_php_1 ... done
Starting devilbox_httpd_1 ... done
Starting devilbox_pgsql_1 ... done
Starting devilbox_mongo_1 ... done
Starting devilbox_redis_1 ... done
Starting devilbox_mysql_1 ... done
Starting devilbox_memcd_1 ... done
Attaching to devilbox_bind_1, devilbox_php_1, devilbox_httpd_1, devilbox_pgsql_1, devilbox_mongo_1, devilbox_mysql_1, devilbox_redis_1, devilbox_memcd_1
httpd_1  | [INFO] Debug level: 2
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.093+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
httpd_1  | [INFO] Runtime debug: 2
mysql_1  | 2021-11-10 14:23:26+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.5.8+maria~focal started.
php_1    | [INFO] Debug level: 2
pgsql_1  | 
pgsql_1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
pgsql_1  | 
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.096+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
redis_1  | 1:C 10 Nov 2021 14:23:26.280 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1  | 1:C 10 Nov 2021 14:23:26.280 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1  | 1:C 10 Nov 2021 14:23:26.280 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
bind_1   | [INFO] Debug level: 2
bind_1   | [INFO] BIND logging: disabled explicitly
bind_1   | [INFO] Using default DNS TTL time: 3600 sec
bind_1   | [INFO] Using default DNS Refresh time: 1200 sec
bind_1   | [INFO] Using default DNS Retry time: 180 sec
bind_1   | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1   | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1   | [INFO] Adding wildcard DNS: *.loc -> 127.0.0.1
bind_1   | 
bind_1   | zone loc/IN: loaded serial 1636554092
bind_1   | OK
bind_1   | [INFO] Not adding any extra hosts
bind_1   | [INFO] DNSSEC Validation: no
bind_1   | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1   | [INFO] Starting BIND 9.11.3
bind_1   | [INFO] Debug level: 2
bind_1   | [INFO] BIND logging: disabled explicitly
bind_1   | [INFO] Using default DNS TTL time: 3600 sec
bind_1   | [INFO] Using default DNS Refresh time: 1200 sec
bind_1   | [INFO] Using default DNS Retry time: 180 sec
bind_1   | [INFO] Using default DNS Expiry time: 1209600 sec
bind_1   | [INFO] Using default DNS Max Cache time: 10800 sec
bind_1   | [INFO] Adding wildcard DNS: *.loc -> 127.0.0.1
bind_1   | 
bind_1   | zone loc/IN: loaded serial 1636554192
bind_1   | OK
bind_1   | [INFO] Not adding any extra hosts
bind_1   | [INFO] DNSSEC Validation: no
bind_1   | [INFO] Adding custom DNS forwarder: 8.8.8.8,8.8.4.4
bind_1   | [INFO] Starting BIND 9.11.3
php_1    | [INFO] Changing user 'devilbox' uid to: 1000
httpd_1  | [INFO] Changing user 'nginx' uid to: 1000
php_1    | root $ usermod -u 1000 devilbox 2>/dev/null
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.096+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
pgsql_1  | 2021-11-10 14:23:26.096 UTC [1] LOG:  starting PostgreSQL 12.4 (Debian 12.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
pgsql_1  | 2021-11-10 14:23:26.096 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
pgsql_1  | 2021-11-10 14:23:26.096 UTC [1] LOG:  listening on IPv6 address "::", port 5432
redis_1  | 1:M 10 Nov 2021 14:23:26.281 * Running mode=standalone, port=6379.
redis_1  | 1:M 10 Nov 2021 14:23:26.281 # Server initialized
redis_1  | 1:M 10 Nov 2021 14:23:26.281 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
pgsql_1  | 2021-11-10 14:23:26.098 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
redis_1  | 1:M 10 Nov 2021 14:23:26.281 * Loading RDB produced by version 6.0.16
redis_1  | 1:M 10 Nov 2021 14:23:26.281 * RDB age 49 seconds
redis_1  | 1:M 10 Nov 2021 14:23:26.281 * RDB memory usage when created 0.76 Mb
redis_1  | 1:M 10 Nov 2021 14:23:26.281 * DB loaded from disk: 0.000 seconds
redis_1  | 1:M 10 Nov 2021 14:23:26.281 * Ready to accept connections
httpd_1  | root $ usermod -u 1000 nginx
pgsql_1  | 2021-11-10 14:23:26.112 UTC [25] LOG:  database system was shut down at 2021-11-10 14:22:37 UTC
pgsql_1  | 2021-11-10 14:23:26.116 UTC [1] LOG:  database system is ready to accept connections
httpd_1  | usermod: no changes
php_1    | root $ chown -R devilbox /home/devilbox 2>/dev/null || true
php_1    | root $ chown -R devilbox /var/lib/php/session
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.096+00:00"},"s":"I",  "c":"STORAGE",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"mongo"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.096+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.10","gitVersion":"58971da1ef93435a9f62bf4708a81713def6e88c","openSSLVersion":"OpenSSL 1.1.1f  31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.096+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.096+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
httpd_1  | [INFO] Changing group 'nginx' gid to: 1000
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.097+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.097+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7418M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
php_1    | root $ chown -R devilbox /var/lib/php/wsdlcache
php_1    | root $ chown -R devilbox /var/spool/mail/devilbox
php_1    | root $ chown -R devilbox /etc/supervisor/custom.d
httpd_1  | root $ groupmod -g 1000 nginx
php_1    | [INFO] Changing group 'devilbox' gid to: 1000
php_1    | root $ groupmod -g 1000 devilbox 2>/dev/null
httpd_1  | [INFO] Setting container timezone to: UTC
php_1    | root $ chown -R :devilbox /home/devilbox 2>/dev/null || true
httpd_1  | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
php_1    | root $ chown -R :devilbox /var/lib/php/session
httpd_1  | [INFO] Docker date set to: Wed Nov 10 14:23:25 UTC 2021
php_1    | root $ chown -R :devilbox /var/lib/php/wsdlcache
php_1    | root $ chown -R :devilbox /var/spool/mail/devilbox
httpd_1  | [INFO] $WORKER_PROCESSES set to its default value: 'auto'.
php_1    | root $ chown -R :devilbox /etc/supervisor/custom.d
httpd_1  | root $ sed -i'' 's/__WORKER_PROCESSES__/auto/g' /etc/nginx/nginx.conf
php_1    | [INFO] Setting container timezone to: UTC
httpd_1  | [INFO] Setting worker_connections to: 1024
php_1    | root $ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
httpd_1  | root $ sed -i'' 's/__WORKER_CONNECTIONS__/1024/g' /etc/nginx/nginx.conf
php_1    | [INFO] Setting PHP: timezone=UTC
httpd_1  | [INFO] $DOCKER_LOGS disabled. Logging errors and access to log files inside container.
php_1    | root $ echo 'date.timezone = UTC' > /usr/local/etc/php/conf.d/devilbox-runtime-timezone.ini
httpd_1  | [INFO] PHP-FPM: Enabled
php_1    | [INFO] Docker date set to: Wed Nov 10 14:23:25 UTC 2021
httpd_1  | [INFO] PHP-FPM: Server address: 172.16.238.10
php_1    | [INFO] $DOCKER_LOGS set to 0. Logging to files under: /var/log/php
httpd_1  | [INFO] PHP-FPM: Server port: 9000
php_1    | [INFO] Make sure to mount this directory in order to view logs
httpd_1  | [INFO] PHP-FPM: Timeout: 180
php_1    | root $ chown -R devilbox:devilbox /var/log/php
httpd_1  | [INFO] Main vhost: Enabled
php_1    | root $ chmod 0755 /var/log/php
httpd_1  | [INFO] Main vhost: Setting SSL type to: http and https
php_1    | [INFO] $ENABLE_MAIL set to 2. Enabling postfix catch-all
httpd_1  | [INFO] Main vhost: Enable automatic generation of SSL certificates
php_1    | root $ chown devilbox:devilbox /var/log/php
httpd_1  | [INFO] Main vhost: SSL CN: localhost,*.localhost,devilbox,*.devilbox,httpd
php_1    | root $ chown devilbox:devilbox /var/log/php/mail.log
httpd_1  | [INFO] $MAIN_VHOST_DOCROOT not specified. Keeping default: htdocs
php_1    | root $ chmod 0644 /var/log/php/mail.log
httpd_1  | [INFO] $MAIN_VHOST_TPL not specified. Keeping default: cfg
php_1    | root $ chmod 0644 /var/mail/devilbox
httpd_1  | [INFO] Main vhost: Enabling httpd status page
php_1    | root $ chown devilbox:devilbox /var/mail
httpd_1  | [INFO] Main vhost: Changing status page alias to: /devilbox-httpd-status
php_1    | root $ chown devilbox:devilbox /var/mail/devilbox
httpd_1  | [INFO] Mass vhost: Enabled
php_1    | root $ postconf -e 'strict_mailbox_ownership=no'
php_1    | root $ postconf -e 'inet_protocols=ipv4'
httpd_1  | [INFO] Mass vhost: Setting SSL type to: http and https
php_1    | root $ postconf -e 'virtual_alias_maps=pcre:/etc/postfix/virtual'
httpd_1  | [INFO] Mass vhost: Enable automatic generation of SSL certificates
php_1    | root $ echo '/.*@.*/ devilbox' >> /etc/postfix/virtual
httpd_1  | [INFO] Mass vhost: changing tld to: .loc
php_1    | root $ newaliases
httpd_1  | [INFO] Mass vhost: changing document root to: htdocs
httpd_1  | [INFO] Mass vhost: changing template dir to: .devilbox
httpd_1  | [INFO] vhost-gen: no customized template found
httpd_1  | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__PHP_ENABLE__/yes/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__PHP_ADDR__/172.16.238.10/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__PHP_PORT__/9000/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__PHP_TIMEOUT__/180/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's/__DOCKER_LOGS_ERROR__/no/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__DOCKER_LOGS_ACCESS__/no/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's|__ENABLE_STATUS__|yes|g' /etc/vhost-gen/main.yml
httpd_1  | root $ sed -i'' 's|__STATUS_ALIAS__|/devilbox-httpd-status|g' /etc/vhost-gen/main.yml
httpd_1  | root $ vhost-gen -n localhost -p /var/www/default/htdocs -t /etc/vhost-gen/templates-main/ -c /etc/vhost-gen/main.yml -o /var/www/default/cfg -v -d -s -m both
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Loading configuration file        (-c): /etc/vhost-gen/main.yml
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Loading vhost template (global)   (-t): /etc/vhost-gen/templates-main/nginx.yml
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Loading vhost template (override) (-o): /var/www/default/cfg/nginx.yml
httpd_1  | vhost-gen: [WARN]  (2021-11-10 14:23:25): Override Vhost template not found: /var/www/default/cfg/nginx.yml
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Creating vhost type: https and http (both)
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Using vhost name: localhost
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:25): Vhost config written to: /etc/httpd/conf.d/localhost.conf
httpd_1  | root $ sed -i'' 's|__DOCROOT_SUFFIX__|htdocs|g' /etc/vhost-gen/mass.yml
httpd_1  | root $ sed -i'' 's/__TLD__/.loc/g' /etc/vhost-gen/mass.yml
httpd_1  | root $ cert-gen -v -c DE -s Berlin -l Berlin -o Devilbox -u Devilbox -n 'localhost' -e 'admin@localhost' -a 'localhost *.localhost devilbox *.devilbox httpd' /ca/devilbox-ca.key /ca/devilbox-ca.crt /etc/httpd/cert/main/localhost.key /etc/httpd/cert/main/localhost.csr /etc/httpd/cert/main/localhost.crt
httpd_1  | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1  | distinguished_name = req_distinguished_name
httpd_1  | x509_extensions = v3_req
httpd_1  | 
httpd_1  | [req_distinguished_name]
httpd_1  | 
httpd_1  | [ v3_req ]
httpd_1  | basicConstraints = critical, CA:FALSE
httpd_1  | subjectKeyIdentifier = hash
httpd_1  | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1  | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1  | extendedKeyUsage = serverAuth, clientAuth
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/main/localhost.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=localhost/emailAddress=admin@localhost' -out /etc/httpd/cert/main/localhost.csr
httpd_1  | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1  | distinguished_name = req_distinguished_name
httpd_1  | x509_extensions = v3_req
httpd_1  | 
httpd_1  | [req_distinguished_name]
httpd_1  | 
httpd_1  | [ v3_req ]
httpd_1  | basicConstraints = critical, CA:FALSE
httpd_1  | subjectKeyIdentifier = hash
httpd_1  | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1  | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1  | extendedKeyUsage = serverAuth, clientAuth
httpd_1  | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/main/localhost.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/main/localhost.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             3c:d1:09:48:6f:eb:be:c8:53:f2:45:4f:76:3e:00:a1:d8:1c:58:79
httpd_1  |         Signature Algorithm: sha256WithRSAEncryption
httpd_1  |         Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = "W0zHbdPIEf+p2/mP0uItG/+sr/w="
httpd_1  |         Validity
httpd_1  |             Not Before: Nov 10 14:23:25 2021 GMT
httpd_1  |             Not After : Feb 13 14:23:25 2024 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = localhost, emailAddress = admin@localhost
httpd_1  |         Subject Public Key Info:
httpd_1  |             Public Key Algorithm: rsaEncryption
httpd_1  |                 RSA Public-Key: (2048 bit)
httpd_1  |                 Modulus:
httpd_1  |                     00:e5:6d:ff:0e:73:16:34:4e:51:83:6b:74:c1:db:
httpd_1  |                     1c:b5:c1:f1:2f:c0:14:91:5b:9d:67:91:68:cd:8e:
httpd_1  |                     86:96:de:c4:57:03:00:7f:94:12:15:98:96:ee:19:
httpd_1  |                     ba:ad:d2:df:89:a2:f2:7f:60:3b:62:8e:28:ba:fa:
httpd_1  |                     79:cb:41:6f:08:4c:34:7f:72:c8:94:f5:c1:1f:87:
httpd_1  |                     82:10:f0:8c:65:e6:bc:f2:1d:06:f5:63:80:84:0a:
httpd_1  |                     f3:d3:c4:3f:02:24:67:f5:e8:c6:1f:73:bd:66:89:
httpd_1  |                     b0:9e:b6:5b:d0:6c:f2:0a:be:5a:7a:7e:3e:67:d2:
httpd_1  |                     67:9d:de:73:88:62:61:c6:1a:17:22:47:ab:61:42:
httpd_1  |                     f8:39:6c:7f:f2:dc:06:6c:90:7e:66:4b:70:ca:b1:
httpd_1  |                     0c:36:51:4c:ae:d1:fc:11:d0:ef:70:c0:5d:7f:0a:
httpd_1  |                     db:09:0e:72:01:e2:d5:19:77:52:d9:9e:02:a4:07:
httpd_1  |                     44:2e:c8:95:15:71:11:0d:3b:db:71:e9:44:a6:32:
httpd_1  |                     08:c5:8c:61:77:d2:dc:15:9c:9f:33:5f:a0:1f:73:
httpd_1  |                     1d:0c:e5:91:4d:bd:7a:f4:dc:24:44:57:0b:da:d6:
httpd_1  |                     0f:6c:1a:17:ed:62:b8:06:7f:b9:05:a2:a7:36:e1:
httpd_1  |                     6c:3e:82:2a:c3:97:f7:a5:b3:0b:23:d5:70:61:bc:
httpd_1  |                     46:0d
httpd_1  |                 Exponent: 65537 (0x10001)
httpd_1  |         X509v3 extensions:
httpd_1  |             X509v3 Basic Constraints: critical
httpd_1  |                 CA:FALSE
httpd_1  |             X509v3 Subject Key Identifier: 
httpd_1  |                 EE:91:03:BA:70:76:D5:D3:C9:3F:41:5D:52:65:57:BE:04:0D:A2:38
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier: 
httpd_1  |                 keyid:5B:4C:C7:6D:D3:C8:11:FF:A9:DB:F9:8F:D2:E2:2D:1B:FF:AC:AF:FC
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=W0zHbdPIEf+p2/mP0uItG/+sr/w=
httpd_1  |                 serial:6B:5C:90:DA:D1:FC:DF:B6:27:E8:60:90:96:C3:E5:58:1F:A6:F4:C3
httpd_1  | 
httpd_1  |             X509v3 Extended Key Usage: 
httpd_1  |                 TLS Web Server Authentication, TLS Web Client Authentication
httpd_1  |             X509v3 Subject Alternative Name: 
httpd_1  |                 DNS:localhost, DNS:localhost, DNS:*.localhost, DNS:devilbox, DNS:*.devilbox, DNS:httpd
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          2a:29:44:fc:58:79:a3:32:d7:45:d3:28:bc:b6:9b:d1:43:bc:
httpd_1  |          14:ec:87:fa:c8:c6:d7:5a:74:86:bc:7e:a9:19:ce:04:82:38:
httpd_1  |          af:d5:48:cf:50:22:6b:a2:34:15:41:30:db:00:d5:10:ca:4d:
httpd_1  |          c6:5a:f1:63:8b:db:fa:c6:c7:7b:b4:8b:93:b8:b9:b6:04:d9:
httpd_1  |          65:59:09:d0:96:81:29:3a:23:6e:bf:be:b7:2b:16:62:ef:7d:
httpd_1  |          fb:0b:e3:8c:f7:15:6b:ae:05:ab:ad:77:ff:cd:74:a9:15:e4:
httpd_1  |          2d:f9:f0:76:b3:67:b4:b4:95:d4:37:4a:6e:a2:c6:d7:3e:9f:
httpd_1  |          6b:1d:57:f7:ae:33:cd:9e:b8:7a:47:eb:f4:b3:58:bc:86:ad:
httpd_1  |          a1:e7:62:df:64:ec:94:f4:0e:4d:6d:fd:2b:59:c7:db:e4:7e:
httpd_1  |          46:c1:a3:fe:b5:25:99:18:86:10:2f:56:8c:9b:c4:fd:bb:a9:
httpd_1  |          35:20:86:fb:fd:0d:f7:c0:89:63:cc:d2:5f:3a:09:73:81:b6:
httpd_1  |          05:7a:f5:b4:4f:5a:43:c0:85:a0:21:98:ff:2c:fd:21:71:9d:
httpd_1  |          62:32:81:21:71:a2:7d:42:7c:23:62:4e:3f:bc:ed:e6:2e:58:
httpd_1  |          52:b6:ce:38:4e:70:11:cc:67:b1:29:9a:f1:45:fa:01:06:f6:
httpd_1  |          d7:e8:6f:c6
httpd_1  | /etc/httpd/cert/main/localhost.crt: OK
httpd_1  | root $ chown -R 1000:1000 /ca
httpd_1  | [INFO] Starting supervisord: 3.3.5
httpd_1  | 2021-11-10 14:23:26,248 INFO Set uid to user 0 succeeded
httpd_1  | 2021-11-10 14:23:26,250 INFO supervisord started with pid 1
mysql_1  | 2021-11-10 14:23:26+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
mysql_1  | 2021-11-10 14:23:26+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.5.8+maria~focal started.
mysql_1  | 2021-11-10 14:23:26 0 [Note] mysqld (mysqld 10.5.8-MariaDB-1:10.5.8+maria~focal-log) starting as process 1 ...
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Using Linux native AIO
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Uses event mutexes
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Number of pools: 1
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
mysql_1  | 2021-11-10 14:23:26 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.527+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:527146][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 4 through 5"}}
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: 128 rollback segments are active.
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: 10.5.8 started; log sequence number 45190; transaction id 20
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1  | 2021-11-10 14:23:26 0 [Note] Plugin 'FEEDBACK' is disabled.
mysql_1  | 2021-11-10 14:23:26 0 [Note] InnoDB: Buffer pool(s) load completed at 211110 14:23:26
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.556+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:556595][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 5"}}
mysql_1  | 2021-11-10 14:23:26 0 [Note] Server socket created on IP: '::'.
mysql_1  | 2021-11-10 14:23:26 0 [Warning] 'proxies_priv' entry '@% root@mysql' ignored in --skip-name-resolve mode.
mysql_1  | 2021-11-10 14:23:26 0 [Note] Reading of all Master_info entries succeeded
mysql_1  | 2021-11-10 14:23:26 0 [Note] Added new Master_info '' to hash table
mysql_1  | 2021-11-10 14:23:26 0 [Note] mysqld: ready for connections.
mysql_1  | Version: '10.5.8-MariaDB-1:10.5.8+maria~focal-log'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.606+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:606111][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 4/6528 to 5/256"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.657+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:657015][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 4 through 5"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.693+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:693344][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5 through 5"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.719+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:719070][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.719+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:719106][1:0x7facafbf0cc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.720+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1636554206:720631][1:0x7facafbf0cc0], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 331"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.724+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":627}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.724+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.726+00:00"},"s":"I",  "c":"STORAGE",  "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.727+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.728+00:00"},"s":"W",  "c":"CONTROL",  "id":22120,   "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.731+00:00"},"s":"I",  "c":"STORAGE",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.733+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.734+00:00"},"s":"I",  "c":"REPL",     "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.735+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.735+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
mongo_1  | {"t":{"$date":"2021-11-10T14:23:26.735+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
httpd_1  | 2021-11-10 14:23:27,252 INFO spawned: 'httpd' with pid 227
httpd_1  | 2021-11-10 14:23:27,257 INFO spawned: 'watcherd' with pid 228
php_1    | [INFO] Forwarding httpd:80 to 127.0.0.1:80 inside this docker.
php_1    | [INFO] Forwarding httpd:443 to 127.0.0.1:443 inside this docker.
php_1    | [INFO] Forwarding mysql:3306 to 127.0.0.1:3306 inside this docker.
php_1    | [INFO] Forwarding pgsql:5432 to 127.0.0.1:5432 inside this docker.
php_1    | [INFO] Forwarding redis:6379 to 127.0.0.1:6379 inside this docker.
php_1    | [INFO] Forwarding memcd:11211 to 127.0.0.1:11211 inside this docker.
php_1    | [INFO] Forwarding mongo:27017 to 127.0.0.1:27017 inside this docker.
php_1    | [INFO] Enabling 'socat-80-httpd-80' to be started by supervisord
php_1    | [INFO] Enabling 'socat-443-httpd-443' to be started by supervisord
php_1    | [INFO] Enabling 'socat-3306-mysql-3306' to be started by supervisord
php_1    | [INFO] Enabling 'socat-5432-pgsql-5432' to be started by supervisord
php_1    | [INFO] Enabling 'socat-6379-redis-6379' to be started by supervisord
php_1    | [INFO] Enabling 'socat-11211-memcd-11211' to be started by supervisord
php_1    | [INFO] Enabling 'socat-27017-mongo-27017' to be started by supervisord
php_1    | [INFO] Enabling 'rsyslogd' to be started by supervisord
php_1    | [INFO] Enabling 'postfix' to be started by supervisord
php_1    | [INFO] Enabling 'php-fpm' to be started by supervisord
php_1    | root $ find /usr/local/etc/php/conf.d -type f -iname '*.ini' -exec chmod 0644 "{}" \;
php_1    | root $ find /usr/local/etc/php-fpm.d -type f -iname '*.conf' -exec chmod 0644 "{}" \;
php_1    | [INFO] $ENABLE_MODULES set, but empty. Not enabling any PHP modules.
php_1    | [INFO] Disabling the following PHP modules: oci8,PDO_OCI,pdo_sqlsrv,sqlsrv,rdkafka,swoole
php_1    | root $ chown devilbox:devilbox /etc/mysqldump-secure.conf
php_1    | root $ chown devilbox:devilbox /etc/mysqldump-secure.cnf
php_1    | root $ chown devilbox:devilbox /var/log/mysqldump-secure.log
php_1    | root $ chown devilbox:devilbox /shared/backups/mysql
php_1    | [INFO] $MYSQL_BACKUP_USER set for mysqldump-secure. Changing to 'root'
php_1    | root $ sed -i'' 's/^user.*/user = root/g' /etc/mysqldump-secure.cnf
php_1    | [INFO] $MYSQL_BACKUP_PASS set for mysqldump-secure. Changing to '******'
php_1    | root $ perl -pi -e 's/^password.*/password = /g' /etc/mysqldump-secure.cnf
php_1    | [INFO] $MYSQL_BACKUP_HOST set for mysqldump-secure. Changing to 'mysql'
php_1    | root $ sed -i'' 's/^host.*/host = mysql/g' /etc/mysqldump-secure.cnf
php_1    | root $ chown devilbox:devilbox /shared/backups
php_1    | root $ chown devilbox:devilbox /shared/httpd
php_1    | root $ chmod 0755 /shared/backups
php_1    | root $ chmod 0755 /shared/httpd
php_1    | root $ cp /ca/devilbox-ca.crt /usr/local/share/ca-certificates/devilbox-devilbox-ca.crt
php_1    | root $ update-ca-certificates
php_1    | Updating certificates in /etc/ssl/certs...
php_1    | 0 added, 0 removed; done.
php_1    | Running hooks in /etc/ca-certificates/update.d...
php_1    | done.
php_1    | [INFO] Starting supervisord
httpd_1  | 2021-11-10 14:23:28,259 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  | 2021-11-10 14:23:28,259 INFO success: watcherd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:28,362 WARN No file matches via include "/etc/supervisor/custom.d/*.conf"
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/postfix.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/rsyslogd.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-11211-memcd-11211.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-27017-mongo-27017.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-3306-mysql-3306.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-443-httpd-443.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-5432-pgsql-5432.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-6379-redis-6379.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Included extra file "/etc/supervisor/conf.d/socat-80-httpd-80.conf" during parsing
php_1    | 2021-11-10 14:23:28,362 INFO Set uid to user 0 succeeded
php_1    | 2021-11-10 14:23:28,364 INFO supervisord started with pid 1
php_1    | 2021-11-10 14:23:29,367 INFO spawned: 'rsyslogd' with pid 1238
php_1    | 2021-11-10 14:23:29,371 INFO spawned: 'socat-3306-mysql-3306' with pid 1239
php_1    | 2021-11-10 14:23:29,374 INFO spawned: 'socat-6379-redis-6379' with pid 1240
php_1    | 2021-11-10 14:23:29,378 INFO spawned: 'postfix' with pid 1241
php_1    | 2021-11-10 14:23:29,383 INFO spawned: 'socat-27017-mongo-27017' with pid 1242
php_1    | 2021-11-10 14:23:29,388 INFO spawned: 'php-fpm' with pid 1243
php_1    | 2021-11-10 14:23:29,394 INFO spawned: 'socat-80-httpd-80' with pid 1245
php_1    | 2021-11-10 14:23:29,400 INFO spawned: 'socat-443-httpd-443' with pid 1247
php_1    | 2021-11-10 14:23:29,404 INFO spawned: 'socat-11211-memcd-11211' with pid 1249
php_1    | 2021-11-10 14:23:29,406 INFO spawned: 'socat-5432-pgsql-5432' with pid 1250
php_1    | rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
php_1    | rsyslogd: activation of module imklog failed [v8.1901.0 try https://www.rsyslog.com/e/2145 ]
httpd_1  | watcherd: [2021-11-10 14:23:30] Starting daemon.
httpd_1  | $ openssl req -newkey rsa:2048 -sha256 -nodes -extensions v3_req -config <(echo "[req]
httpd_1  | distinguished_name = req_distinguished_name
httpd_1  | x509_extensions = v3_req
httpd_1  | 
httpd_1  | [req_distinguished_name]
httpd_1  | 
httpd_1  | [ v3_req ]
httpd_1  | basicConstraints = critical, CA:FALSE
httpd_1  | subjectKeyIdentifier = hash
httpd_1  | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1  | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1  | extendedKeyUsage = serverAuth, clientAuth
httpd_1  | subjectAltName=${ALT_NAMES}") -keyout /etc/httpd/cert/mass/test.loc.key -subj '/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=test.loc/emailAddress=admin@test.loc' -out /etc/httpd/cert/mass/test.loc.csr
httpd_1  | $ openssl x509 -req -sha256 -extensions v3_req -extfile <(echo "[req]
httpd_1  | distinguished_name = req_distinguished_name
httpd_1  | x509_extensions = v3_req
httpd_1  | 
httpd_1  | [req_distinguished_name]
httpd_1  | 
httpd_1  | [ v3_req ]
httpd_1  | basicConstraints = critical, CA:FALSE
httpd_1  | subjectKeyIdentifier = hash
httpd_1  | keyUsage = critical, digitalSignature, keyEncipherment
httpd_1  | authorityKeyIdentifier = keyid:always,issuer:always
httpd_1  | extendedKeyUsage = serverAuth, clientAuth
httpd_1  | subjectAltName=${ALT_NAMES}") -days 825 -in /etc/httpd/cert/mass/test.loc.csr -CA /ca/devilbox-ca.crt -CAkey /ca/devilbox-ca.key -CAcreateserial -out /etc/httpd/cert/mass/test.loc.crt
httpd_1  | Certificate:
httpd_1  |     Data:
httpd_1  |         Version: 3 (0x2)
httpd_1  |         Serial Number:
httpd_1  |             3c:d1:09:48:6f:eb:be:c8:53:f2:45:4f:76:3e:00:a1:d8:1c:58:7a
httpd_1  |         Signature Algorithm: sha256WithRSAEncryption
httpd_1  |         Issuer: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = Devilbox Root CA, emailAddress = cytopia@devilbox.org, dnQualifier = "W0zHbdPIEf+p2/mP0uItG/+sr/w="
httpd_1  |         Validity
httpd_1  |             Not Before: Nov 10 14:23:30 2021 GMT
httpd_1  |             Not After : Feb 13 14:23:30 2024 GMT
httpd_1  |         Subject: C = DE, ST = Berlin, L = Berlin, O = Devilbox, OU = Devilbox, CN = test.loc, emailAddress = admin@test.loc
httpd_1  |         Subject Public Key Info:
httpd_1  |             Public Key Algorithm: rsaEncryption
httpd_1  |                 RSA Public-Key: (2048 bit)
httpd_1  |                 Modulus:
httpd_1  |                     00:d6:82:95:77:97:26:bc:0a:98:bb:cb:aa:ea:cc:
httpd_1  |                     af:5b:be:b9:fd:e3:ec:54:19:30:4e:b2:cc:1e:32:
httpd_1  |                     71:ab:cb:b9:82:68:41:66:dc:77:61:57:2a:e1:54:
httpd_1  |                     d2:fa:7b:44:ce:f2:50:0f:1a:ae:09:3b:ab:fc:11:
httpd_1  |                     0d:c8:21:f7:ef:e1:9f:3e:42:b7:84:25:f0:69:fe:
httpd_1  |                     50:ac:0d:92:b7:e2:97:1b:3c:16:a0:d4:f5:7b:23:
httpd_1  |                     08:c9:db:78:3c:8e:11:35:38:c3:e0:c8:83:71:e0:
httpd_1  |                     f7:86:9d:a1:06:12:69:38:13:63:d2:4d:de:7a:33:
httpd_1  |                     43:43:78:e0:3f:45:29:79:15:07:3b:6d:23:a5:af:
httpd_1  |                     58:48:e9:0a:88:50:b8:a6:44:2f:18:77:3f:59:b6:
httpd_1  |                     7e:15:c2:98:9e:4d:48:04:f0:cc:78:2f:5a:e7:03:
httpd_1  |                     63:81:2a:23:1e:f2:47:48:81:e5:c0:18:9e:ef:d4:
httpd_1  |                     b5:b7:e3:df:43:4b:78:8a:c1:93:63:e8:24:55:91:
httpd_1  |                     44:f1:c1:b6:7f:de:5a:11:fa:12:08:15:88:ef:4f:
httpd_1  |                     89:6a:fe:97:00:65:5e:7d:9c:35:79:54:9f:89:8f:
httpd_1  |                     14:e3:ff:2a:f0:ab:25:72:b7:e3:9a:ac:9f:eb:ce:
httpd_1  |                     4f:77:a4:ad:a6:dd:e8:08:80:eb:39:bb:c4:47:b0:
httpd_1  |                     9e:67
httpd_1  |                 Exponent: 65537 (0x10001)
httpd_1  |         X509v3 extensions:
httpd_1  |             X509v3 Basic Constraints: critical
httpd_1  |                 CA:FALSE
httpd_1  |             X509v3 Subject Key Identifier: 
httpd_1  |                 0E:C9:74:57:B3:F4:1D:07:1A:97:D9:B4:9A:82:5A:1E:6E:69:A6:11
httpd_1  |             X509v3 Key Usage: critical
httpd_1  |                 Digital Signature, Key Encipherment
httpd_1  |             X509v3 Authority Key Identifier: 
httpd_1  |                 keyid:5B:4C:C7:6D:D3:C8:11:FF:A9:DB:F9:8F:D2:E2:2D:1B:FF:AC:AF:FC
httpd_1  |                 DirName:/C=DE/ST=Berlin/L=Berlin/O=Devilbox/OU=Devilbox/CN=Devilbox Root CA/emailAddress=cytopia@devilbox.org/dnQualifier=W0zHbdPIEf+p2/mP0uItG/+sr/w=
httpd_1  |                 serial:6B:5C:90:DA:D1:FC:DF:B6:27:E8:60:90:96:C3:E5:58:1F:A6:F4:C3
httpd_1  | 
httpd_1  |             X509v3 Extended Key Usage: 
httpd_1  |                 TLS Web Server Authentication, TLS Web Client Authentication
httpd_1  |             X509v3 Subject Alternative Name: 
httpd_1  |                 DNS:test.loc, DNS:*.test.loc
httpd_1  |     Signature Algorithm: sha256WithRSAEncryption
httpd_1  |          22:4b:d8:78:17:b4:9a:b4:28:b4:29:34:4a:0d:96:1c:01:d1:
httpd_1  |          7f:71:20:a2:4a:19:a7:c2:2b:66:d8:61:67:45:f2:2d:de:e0:
httpd_1  |          b8:77:e5:5f:96:d2:53:fc:86:b2:c2:55:8c:a1:ed:56:85:f2:
httpd_1  |          5d:d8:c8:93:f8:0e:11:5e:70:30:7f:16:26:e4:cb:5b:65:f8:
httpd_1  |          c1:98:db:f7:63:9a:60:00:55:af:9a:96:73:6f:4c:35:55:b7:
httpd_1  |          f9:dd:97:9e:9a:49:17:2e:dd:b2:86:60:9e:3d:d0:8d:62:f7:
httpd_1  |          f3:d8:7e:a8:1d:97:95:bb:e0:fd:73:79:05:7f:b1:77:02:bb:
httpd_1  |          4e:29:70:e1:cd:2e:a9:3a:89:11:50:01:b7:1a:e4:6d:82:e0:
httpd_1  |          a2:0e:d8:28:83:01:8b:eb:2f:f1:4a:21:67:b1:98:56:c7:9e:
httpd_1  |          98:a7:29:c7:41:43:8b:c1:ea:40:41:e2:26:e8:d2:bc:88:aa:
httpd_1  |          6e:26:25:1c:d6:06:c2:cd:9f:cf:92:ba:2b:67:34:b9:21:17:
httpd_1  |          8a:48:1a:81:7b:f2:56:b4:d7:b3:6c:74:eb:96:27:5a:f0:26:
httpd_1  |          93:49:0f:72:73:e5:06:1d:a7:20:c2:cb:fa:e5:7b:c5:4d:6e:
httpd_1  |          e3:12:d0:a5:2a:d9:77:d8:49:5a:d4:68:f0:07:d8:a8:76:9c:
httpd_1  |          b1:12:04:d4
httpd_1  | /etc/httpd/cert/mass/test.loc.crt: OK
httpd_1  | $ vhost-gen -p "/shared/httpd/test" -n "test" -c /etc/vhost-gen/mass.yml -o "/shared/httpd/test/.devilbox/" -s -v -m both
php_1    | 2021-11-10 14:23:30,469 INFO success: rsyslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-3306-mysql-3306 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-6379-redis-6379 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: postfix entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-27017-mongo-27017 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-80-httpd-80 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-443-httpd-443 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-11211-memcd-11211 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
php_1    | 2021-11-10 14:23:30,469 INFO success: socat-5432-pgsql-5432 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Loading configuration file        (-c): /etc/vhost-gen/mass.yml
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Loading vhost template (global)   (-t): /etc/vhost-gen/templates/nginx.yml
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Loading vhost template (override) (-o): /shared/httpd/test/.devilbox/nginx.yml
httpd_1  | vhost-gen: [WARN]  (2021-11-10 14:23:30): Override Vhost template not found: /shared/httpd/test/.devilbox/nginx.yml
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Creating vhost type: https and http (both)
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Using vhost name: test.loc
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Log setting: dir -> True
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Log setting: Not specified
httpd_1  | vhost-gen: [INFO]  (2021-11-10 14:23:30): Vhost config written to: /etc/httpd/vhost.d/test.conf
httpd_1  | watcherd: [2021-11-10 14:23:30] [OK]  ADD: succeeded: /shared/httpd/test
httpd_1  | 2021/11/10 14:23:30 [notice] 275#275: signal process started
httpd_1  | watcherd: [2021-11-10 14:23:30] [OK]  TRIGGER succeeded: nginx -s stop
httpd_1  | watcherd: [2021-11-10 14:23:30] Using bash loop to watch for changes.
httpd_1  | 2021-11-10 14:23:30,596 INFO exited: httpd (exit status 0; expected)
httpd_1  | 2021-11-10 14:23:31,598 INFO spawned: 'httpd' with pid 310
httpd_1  | 2021-11-10 14:23:32,599 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
cytopia commented 2 years ago

@krllgranin I had the same issue and it was fixed by restarting the docker daemon:

sudo service docker restart

See here for more information https://stackoverflow.com/questions/20430371/my-docker-container-has-no-internet