Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project root keeps changing to owner 100999:100999 on Ubuntu 20 #546

Open
zagrad opened this issue Mar 26, 2023 · 3 comments
Open

Project root keeps changing to owner 100999:100999 on Ubuntu 20 #546

zagrad opened this issue Mar 26, 2023 · 3 comments

Comments

@zagrad
Copy link

zagrad commented Mar 26, 2023

Codebase
Drupal 9 with various Wodby images.

Describe your issue
I do use this code base daily on a Windows (WSL) environment. Collegaes use the same environment on Macs as well (using the MacOS images instead).
On my Ubuntu machine I have used this code base in the past without problems, but as of some time (maybe after a Docker or Docker Desktop update?) it doesn't work anymore.

The problem occurs with the mounts we need for the PHP container:

php:
    image: wodby/drupal-php:$PHP_TAG
    container_name: "${PROJECT_NAME}_php"
    env_file:
      - .env
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      #      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S opensmtpd:25
      DB_HOST: $DB_HOST
      DB_PORT: $DB_PORT
      DB_USER: $DB_USER
      DB_PASSWORD: $DB_PASSWORD
      DB_NAME: $DB_NAME
      DB_DRIVER: $DB_DRIVER
      PHP_FPM_CLEAR_ENV: "no"
      PHP_FPM_USER: wodby
      PHP_FPM_GROUP: wodby
      #      # Read instructions at https://wodby.com/docs/stacks/php/local/#xdebug
      # The PHP_XDEBUG=1 variable now needs to be enabled at the top of the .env file. See .env.example for reference.
      PHP_XDEBUG_MODE: debug
      #  PHP_IDE_CONFIG: "serverName=${PROJECT_NAME}" #This is needed for CLI debugging
      PHP_XDEBUG_IDEKEY: "PHPSTORM"
      PHP_XDEBUG_CLIENT_HOST: host.docker.internal # Docker 18.03+ Mac/Win
    volumes:
      - .:/var/www/html
      - ./docker/files:/mnt/files # For Xdebug profiler files
      - ./docker/site-php:/var/www/site-php

The volume .:/var/www/html specifically causes the project root to become chowned by user 100999:100999.
The image I specifiy from the .env file should be using user 1000:1000

# Linux (uid 1000 gid 1000)
PHP_TAG=8.1-dev-4.37.4

I've checked the user I run the docker compose up command from and it's 1000:1000:

paul@paul-HP-Pavilion-Laptop-15-cs3xxx:~$ id paul
uid=1000(paul) gid=1000(paul) groups=1000(paul),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),122(lpadmin),134(lxd),135(sambashare)

After Googling hours and hours I still have no clue how to fix this.

Output of docker info

Client:
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.10.3)
  compose: Docker Compose (Docker Inc., v2.15.1)
  dev: Docker Dev Environments (Docker Inc., v0.1.0)
  extension: Manages Docker extensions (Docker Inc., v0.2.18)
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
  scan: Docker Scan (Docker Inc., v0.25.0)
  scout: Command line tool for Docker Scout (Docker Inc., v0.6.0)

Server:
 Containers: 6
  Running: 0
  Paused: 0
  Stopped: 6
 Images: 6
 Server Version: 20.10.23
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 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: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 2456e983eb9e37e47538f59ea18f2043c9a73640
 runc version: v1.1.4-0-g5fd4c4d
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.15.49-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 1.824GiB
 Name: docker-desktop
 ID: X6U7:LPH2:UQXJ:ENA2:NHKP:YZYT:KKMB:7T4F:RQFJ:PAYJ:HRBS:SRA5
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5000
  127.0.0.0/8
 Live Restore Enabled: false

Contents of your docker-compose.yml

version: "3"

services:
  mariadb:
    image: wodby/mariadb:$MARIADB_TAG
    container_name: "${PROJECT_NAME}_mariadb"
    env_file:
      - .env
    stop_grace_period: 30s
    environment:
      MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
      MYSQL_DATABASE: $DB_NAME
      MYSQL_USER: $DB_USER
      MYSQL_PASSWORD: $DB_PASSWORD
    volumes:
      - ./docker/database:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
    ports:
      - '3306:3306'

  php:
    image: wodby/drupal-php:$PHP_TAG
    container_name: "${PROJECT_NAME}_php"
    env_file:
      - .env
    environment:
      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025
      #      PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S opensmtpd:25
      DB_HOST: $DB_HOST
      DB_PORT: $DB_PORT
      DB_USER: $DB_USER
      DB_PASSWORD: $DB_PASSWORD
      DB_NAME: $DB_NAME
      DB_DRIVER: $DB_DRIVER
      PHP_FPM_CLEAR_ENV: "no"
      PHP_FPM_USER: wodby
      PHP_FPM_GROUP: wodby
      #      # Read instructions at https://wodby.com/docs/stacks/php/local/#xdebug
      # The PHP_XDEBUG=1 variable now needs to be enabled at the top of the .env file. See .env.example for reference.
      PHP_XDEBUG_MODE: debug
      #  PHP_IDE_CONFIG: "serverName=${PROJECT_NAME}" #This is needed for CLI debugging
      PHP_XDEBUG_IDEKEY: "PHPSTORM"
      PHP_XDEBUG_CLIENT_HOST: host.docker.internal # Docker 18.03+ Mac/Win
    volumes:
      - .:/var/www/html
      - ./web:/var/www/html/web
      - ./docker/files:/mnt/files # For Xdebug profiler files
      - ./docker/site-php:/var/www/site-php

  nginx:
    image: wodby/nginx:$NGINX_TAG
    container_name: "${PROJECT_NAME}_nginx"
    depends_on:
      - php
    environment:
      NGINX_STATIC_OPEN_FILE_CACHE: "off"
      NGINX_ERROR_LOG_LEVEL: debug
      NGINX_BACKEND_HOST: php
      NGINX_SERVER_ROOT: /var/www/html/web
      NGINX_VHOST_PRESET: $NGINX_VHOST_PRESET
    #      NGINX_DRUPAL_FILE_PROXY_URL: http://example.com
    ports:
      - '80:80'
    volumes:
      - .:/var/www/html
      - ./web:/var/www/html/web
    labels:
      - "traefik.http.routers.${PROJECT_NAME}_nginx.rule=Host(`${PROJECT_BASE_URL}`)"

  mailhog:
    image: mailhog/mailhog:latest
    container_name: "${PROJECT_NAME}_mailhog"
    ports:
      - '8025:8025'
    labels:
      - "traefik.http.services.${PROJECT_NAME}_mailhog.loadbalancer.server.port=8025"
      - "traefik.http.routers.${PROJECT_NAME}_mailhog.rule=Host(`mailhog.localhost`)"

  portainer:
    image: portainer/portainer
    container_name: "${PROJECT_NAME}_portainer"
    command: --no-auth -H unix:///var/run/docker.sock
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    labels:
      - "traefik.http.routers.${PROJECT_NAME}_portainer.rule=Host(`portainer.${PROJECT_BASE_URL}`)"

  traefik:
    image: traefik:$TRAEFIK_TAG
    container_name: "${PROJECT_NAME}_traefik"
    command: --api.insecure=true --providers.docker
    ports:
      - '8000:80'
      #      - '443:443'
      - '8080:8080' # Dashboard
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

volumes:
  config:
  docker:
  web:
networks:
  default:
    external: true
    name: test_network

Contents of your .env

# Drush options.
DRUSH_OPTIONS_URI=http://test-project.localhost
DRUSH_OPTIONS_ROOT=/var/www/html/web

# Development environment variables.
DOCKER=1
APP_ENV=1
#PHP_XDEBUG=1

# CI settings.
WEB_ROOT=/var/www/html/web
DB_DUMP=docker/database

### Documentation available at https://wodby.com/docs/stacks/drupal/local
### Changelog can be found at https://github.com/wodby/docker4drupal/releases
### Images tags format explained at https://github.com/wodby/docker4drupal#images-tags

### PROJECT SETTINGS

PROJECT_NAME=fpm
PROJECT_BASE_URL=test-project.localhost

DB_NAME=drupal
DB_USER=drupal
DB_PASSWORD=drupal
DB_ROOT_PASSWORD=password
DB_HOST=mariadb
DB_PORT=3306
DB_DRIVER=mysql

### --- MARIADB ----

MARIADB_TAG=10.4-3.8.5
#MARIADB_TAG=10.3-3.8.5
#MARIADB_TAG=10.2-3.8.5
#MARIADB_TAG=10.1-3.8.5

### --- PHP ----

# Linux (uid 1000 gid 1000)

PHP_TAG=8.1-dev-4.37.4
#PHP_TAG=7.4-dev-4.37.4

# macOS (uid 501 gid 20)

#PHP_TAG=8.1-dev-macos-4.37.4
#PHP_TAG=7.4-dev-macos-4.37.4

### --- NGINX ----

NGINX_TAG=1.19-5.10.0
#NGINX_TAG=1.18-5.10.0

#NGINX_VHOST_PRESET=drupal9
NGINX_VHOST_PRESET=drupal8
#NGINX_VHOST_PRESET=drupal7
#NGINX_VHOST_PRESET=drupal6

### --- SOLR ---

#SOLR_CONFIG_SET="search_api_solr_4.0"
SOLR_CONFIG_SET="search_api_solr_8.x-3.2"
#SOLR_CONFIG_SET="search_api_solr_8.x-2.7"
#SOLR_CONFIG_SET="search_api_solr_8.x-1.2"
#SOLR_CONFIG_SET="search_api_solr_7.x-1.14"

SOLR_TAG=8-4.6.1
#SOLR_TAG=7-4.6.1
#SOLR_TAG=6-4.6.1
#SOLR_TAG=5-4.6.1

### --- ELASTICSEARCH ---

ELASTICSEARCH_TAG=7-5.5.1
#ELASTICSEARCH_TAG=6-5.5.1

### --- KIBANA ---

KIBANA_TAG=7-5.5.1
#KIBANA_TAG=6-5.5.1

### --- REDIS ---

REDIS_TAG=6-3.4.1
#REDIS_TAG=5-3.4.1

### --- NODE ---

NODE_TAG=12-dev-0.36.0
#NODE_TAG=10-dev-0.36.0
#NODE_TAG=8-dev-0.36.0

### --- VARNISH ---

VARNISH_TAG=6.0-4.4.8
#VARNISH_TAG=4.1-4.4.8

### --- POSTGRESQL ----

POSTGRES_TAG=12-1.10.0
#POSTGRES_TAG=11-1.10.0
#POSTGRES_TAG=10-1.10.0
#POSTGRES_TAG=9.6-1.10.0
#POSTGRES_TAG=9.5-1.10.0
#POSTGRES_TAG=9.4-1.10.0

### OTHERS

ADMINER_TAG=4-3.10.0
APACHE_TAG=2.4-4.3.0
ATHENAPDF_TAG=2.10.0
DRUPAL_NODE_TAG=1.0-2.0.0
MEMCACHED_TAG=1-2.6.0
OPENSMTPD_TAG=6.0-1.7.0
RSYSLOG_TAG=latest
SELENIUM_CHROME_TAG=3.141
TRAEFIK_TAG=v2.1.3
WEBGRIND_TAG=1-1.16.0
XHPROF_TAG=2.3.0

Logs output docker-compose logs

fpm_traefik  | time="2023-03-26T16:16:16Z" level=info msg="Configuration loaded from flags."
fpm_traefik  | time="2023-03-26T16:49:07Z" level=error msg="close tcp [::]:80: use of closed network connection" entryPointName=http
fpm_traefik  | time="2023-03-26T16:49:07Z" level=error msg="close tcp [::]:8080: use of closed network connection" entryPointName=traefik
fpm_traefik  | time="2023-03-26T16:49:07Z" level=error msg="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik
fpm_traefik  | time="2023-03-26T16:49:07Z" level=error msg="accept tcp [::]:80: use of closed network connection" entryPointName=http
fpm_traefik  | time="2023-03-26T17:27:02Z" level=info msg="Configuration loaded from flags."
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: using the "epoll" event method
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: nginx/1.19.0
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0) 
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: OS: Linux 5.15.49-linuxkit
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: start worker processes
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: start worker process 44
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: start worker process 45
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: start worker process 46
fpm_nginx    | 2023/03/26 16:16:17 [notice] 1#1: start worker process 47
fpm_nginx    | 2023/03/26 16:49:07 [notice] 1#1: signal 15 (SIGTERM) received, exiting
fpm_nginx    | 2023/03/26 16:49:07 [notice] 44#44: exiting
fpm_nginx    | 2023/03/26 16:49:07 [notice] 44#44: exit
fpm_nginx    | 2023/03/26 16:49:07 [notice] 45#45: exiting
fpm_nginx    | 2023/03/26 16:49:07 [notice] 45#45: exit
fpm_nginx      | 2023/03/26 16:49:07 [notice] 46#46: exiting
fpm_nginx      | 2023/03/26 16:49:07 [notice] 46#46: exit
fpm_nginx      | 2023/03/26 16:49:07 [notice] 47#47: exiting
fpm_nginx      | 2023/03/26 16:49:07 [notice] 47#47: exit
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 17 (SIGCHLD) received from 44
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: worker process 44 exited with code 0
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 29 (SIGIO) received
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 17 (SIGCHLD) received from 45
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: worker process 45 exited with code 0
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 29 (SIGIO) received
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 17 (SIGCHLD) received from 47
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: worker process 47 exited with code 0
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 29 (SIGIO) received
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: signal 17 (SIGCHLD) received from 46
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: worker process 46 exited with code 0
fpm_nginx      | 2023/03/26 16:49:07 [notice] 1#1: exit
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: using the "epoll" event method
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: nginx/1.19.0
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: built by gcc 6.4.0 (Alpine 6.4.0) 
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: OS: Linux 5.15.49-linuxkit
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: start worker processes
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: start worker process 42
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: start worker process 43
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: start worker process 44
fpm_nginx      | 2023/03/26 17:27:02 [notice] 1#1: start worker process 45
fpm_php      | [26-Mar-2023 16:16:16] NOTICE: fpm is running, pid 1
fpm_php        | [26-Mar-2023 16:16:16] NOTICE: ready to handle connections
fpm_php        | [26-Mar-2023 16:49:07] NOTICE: Finishing ...
fpm_php        | [26-Mar-2023 16:49:07] NOTICE: exiting, bye-bye!
fpm_php        | [26-Mar-2023 17:27:02] NOTICE: fpm is running, pid 1
fpm_php        | [26-Mar-2023 17:27:02] NOTICE: ready to handle connections
fpm_mariadb    | Initializing database
fpm_mariadb    | 
fpm_mariadb    | 
fpm_mariadb    | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
fpm_mariadb    | To do so, start the server, then issue the following commands:
fpm_mariadb    | 
fpm_mariadb    | '/usr/bin/mysqladmin' -u root password 'new-password'
fpm_mariadb    | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
fpm_mariadb    | 
fpm_mariadb    | Alternatively you can run:
fpm_mariadb    | '/usr/bin/mysql_secure_installation'
fpm_mariadb    | 
fpm_mariadb    | which will also give you the option of removing the test
fpm_mariadb    | databases and anonymous user created by default.  This is
fpm_mariadb    | strongly recommended for production servers.
fpm_mariadb    | 
fpm_mariadb    | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
fpm_mariadb    | MySQL manual for more instructions.
fpm_mariadb    | 
fpm_mariadb    | Please report any problems at http://mariadb.org/jira
fpm_mariadb    | 
fpm_mariadb    | The latest information about MariaDB is available at http://mariadb.org/.
fpm_mariadb    | You can find additional information about the MySQL part at:
fpm_mariadb    | http://dev.mysql.com
fpm_portainer  | portainer: error: unknown long flag '--no-auth', try --help
fpm_portainer  | portainer: error: unknown long flag '--no-auth', try --help
fpm_mailhog    | 2023/03/26 16:16:16 Using in-memory storage
fpm_mariadb    | Consider joining MariaDB's strong and vibrant community:
fpm_mailhog    | [HTTP] Binding to address: 0.0.0.0:8025
fpm_mariadb    | https://mariadb.org/get-involved/
fpm_mariadb    | 
fpm_mariadb    | Database initialized
fpm_mariadb    | MySQL init process in progress...
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] mysqld (mysqld 10.4.13-MariaDB) starting as process 105 ...
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Using Linux native AIO
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Uses event mutexes
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Number of pools: 1
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Using SSE2 crc32 instructions
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Completed initialization of buffer pool
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Creating shared tablespace for temporary tables
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: 10.4.13 started; log sequence number 60979; transaction id 21
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] Plugin 'FEEDBACK' is disabled.
fpm_mariadb    | 2023-03-26 16:16:19 0 [Warning] 'user' entry 'root@f948a32ffacb' ignored in --skip-name-resolve mode.
fpm_mariadb    | 2023-03-26 16:16:19 0 [Warning] 'user' entry '@f948a32ffacb' ignored in --skip-name-resolve mode.
fpm_mariadb    | 2023-03-26 16:16:19 0 [Warning] 'proxies_priv' entry '@% root@f948a32ffacb' ignored in --skip-name-resolve mode.
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] InnoDB: Buffer pool(s) load completed at 230326 16:16:19
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] Reading of all Master_info entries succeeded
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] Added new Master_info '' to hash table
fpm_mariadb    | 2023-03-26 16:16:19 0 [Note] mysqld: ready for connections.
fpm_mariadb    | Version: '10.4.13-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MariaDB Server
fpm_mariadb    | 2023-03-26 16:16:28 10 [Warning] 'proxies_priv' entry '@% root@f948a32ffacb' ignored in --skip-name-resolve mode.
fpm_mariadb    | 
fpm_mariadb    | /usr/local/bin/init_mariadb: ignoring /docker-entrypoint-initdb.d/base
fpm_mariadb    | 
fpm_mariadb    | /usr/local/bin/init_mariadb: running /docker-entrypoint-initdb.d/db.sql
fpm_mariadb    | 
fpm_mariadb    | 
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] mysqld (initiated by: unknown): Normal shutdown
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] Event Scheduler: Purging the queue. 0 events
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] InnoDB: FTS optimize thread exiting.
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] InnoDB: Starting shutdown...
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] InnoDB: Instance 0, restricted to 2003 pages due to innodb_buf_pool_dump_pct=25
fpm_mariadb    | 2023-03-26 16:16:33 0 [Note] InnoDB: Buffer pool(s) dump completed at 230326 16:16:33
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Shutdown completed; log sequence number 21243435; transaction id 1181
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] mysqld: Shutdown complete
fpm_mariadb    | 
fpm_mariadb    | 
fpm_mariadb    | MySQL init process done. Ready for start up.
fpm_mariadb    | 
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] mysqld (mysqld 10.4.13-MariaDB) starting as process 1 ...
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Using Linux native AIO
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Uses event mutexes
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Number of pools: 1
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Using SSE2 crc32 instructions
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Completed initialization of buffer pool
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Creating shared tablespace for temporary tables
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
fpm_mariadb    | 2023-03-26 16:16:34 0 [Note] InnoDB: Waiting for purge to start
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] InnoDB: 10.4.13 started; log sequence number 21243435; transaction id 1182
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] Plugin 'FEEDBACK' is disabled.
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] Server socket created on IP: '0.0.0.0'.
fpm_mariadb    | 2023-03-26 16:16:35 0 [Warning] 'proxies_priv' entry '@% root@f948a32ffacb' ignored in --skip-name-resolve mode.
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] Reading of all Master_info entries succeeded
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] Added new Master_info '' to hash table
fpm_mailhog    | 2023/03/26 16:16:16 [SMTP] Binding to address: 0.0.0.0:1025
fpm_mailhog    | 2023/03/26 16:16:16 Serving under http://0.0.0.0:8025/
fpm_mailhog    | Creating API v1 with WebPath: 
fpm_mailhog    | Creating API v2 with WebPath: 
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | [APIv1] KEEPALIVE /api/v1/events
fpm_mailhog    | 2023/03/26 17:27:01 Using in-memory storage
fpm_mailhog    | 2023/03/26 17:27:01 [SMTP] Binding to address: 0.0.0.0:1025
fpm_mailhog    | 2023/03/26 17:27:01 Serving under http://0.0.0.0:8025/
fpm_mailhog    | [HTTP] Binding to address: 0.0.0.0:8025
fpm_mailhog    | Creating API v1 with WebPath: 
fpm_mailhog    | Creating API v2 with WebPath: 
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] mysqld: ready for connections.
fpm_mariadb    | Version: '10.4.13-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MariaDB Server
fpm_mariadb    | 2023-03-26 16:16:35 0 [Note] InnoDB: Buffer pool(s) load completed at 230326 16:16:35
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] mysqld (initiated by: unknown): Normal shutdown
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] Event Scheduler: Purging the queue. 0 events
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] InnoDB: FTS optimize thread exiting.
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] InnoDB: Starting shutdown...
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] InnoDB: Instance 0, restricted to 2003 pages due to innodb_buf_pool_dump_pct=25
fpm_mariadb    | 2023-03-26 16:49:07 0 [Note] InnoDB: Buffer pool(s) dump completed at 230326 16:49:07
fpm_mariadb    | 2023-03-26 16:49:09 0 [Note] InnoDB: Shutdown completed; log sequence number 21243444; transaction id 1183
fpm_mariadb    | 2023-03-26 16:49:09 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
fpm_mariadb    | 2023-03-26 16:49:09 0 [Note] mysqld: Shutdown complete
fpm_mariadb    | 
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] mysqld (mysqld 10.4.13-MariaDB) starting as process 1 ...
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Using Linux native AIO
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Uses event mutexes
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Number of pools: 1
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Using SSE2 crc32 instructions
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Completed initialization of buffer pool
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Waiting for purge to start
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: 10.4.13 started; log sequence number 21243444; transaction id 1182
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] Plugin 'FEEDBACK' is disabled.
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] Server socket created on IP: '0.0.0.0'.
fpm_mariadb    | 2023-03-26 17:27:02 0 [Warning] 'proxies_priv' entry '@% root@f948a32ffacb' ignored in --skip-name-resolve mode.
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] Reading of all Master_info entries succeeded
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] Added new Master_info '' to hash table
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] mysqld: ready for connections.
fpm_mariadb    | Version: '10.4.13-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MariaDB Server
fpm_mariadb    | 2023-03-26 17:27:02 0 [Note] InnoDB: Buffer pool(s) load completed at 230326 17:27:02
@edmargomes
Copy link

edmargomes commented Sep 20, 2023

The same problem here
permissao

@edmargomes
Copy link

The problem is with docker desktop
When start, docker desktop copy ids from /etc/subuid and /etc/subgid

@edmargomes
Copy link

I fixed with creating the group and add my user on the group docker/desktop-linux#31 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants