Bonjour !
J'essaie de faire le MOOC OpenClassrooms"Automatisez des tests fonctionnels pour le web avec Cypress"

Dedans, il y a un conteneur Docker à télécharger en deux fois : v1 et v2

J'utilise Windows 11 et WSL2. Ma version de Docker est la suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Client:
 Version:    28.3.2
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Docker AI Agent - Ask Gordon (Docker Inc.)
    Version:  v1.9.9
    Path:     C:\Users\marie\.docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.25.0-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  cloud: Docker Cloud (Docker Inc.)
    Version:  v0.4.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-cloud.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.38.2-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.41
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Docker Inc.)
    Version:  v0.1.11
    Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.29
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  mcp: Docker MCP Plugin (Docker Inc.)
    Version:  v0.9.9
    Path:     C:\Program Files\Docker\cli-plugins\docker-mcp.exe
  model: Docker Model Runner (EXPERIMENTAL) (Docker Inc.)
    Version:  v0.1.33
    Path:     C:\Program Files\Docker\cli-plugins\docker-model.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.18.2
    Path:     C:\Users\marie\.docker\cli-plugins\docker-scout.exe

Server:
 Containers: 3
  Running: 3
  Paused: 0
  Stopped: 0
 Images: 3
 Server Version: 28.3.2
 Storage Driver: overlayfs
  driver-type: io.containerd.snapshotter.v1
 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 splunk syslog
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Discovered Devices:
  cdi: docker.com/gpu=webgpu
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 nvidia runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da
 runc version: v1.2.5-0-g59923ef
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.6.87.2-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 3.744GiB
 Name: docker-desktop
 ID: 4262a617-0b83-4a5b-a159-9a584e9cfb96
 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
 Labels:
  com.docker.desktop.address=npipe://\\.\pipe\docker_cli
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false


WARNING: DOCKER_INSECURE_NO_IPTABLES_RAW is set
Mon docker-compose.yml est le suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
services:
  tech-buy-bdd:
    container_name: tech-buy-bdd
    image: mariadb:11.7.2
    environment:
      - MYSQL_DATABASE=techbuy
      - MYSQL_ROOT_PASSWORD=techbuy
      - MYSQL_USER=techbuy
      - MYSQL_PASSWORD=techbuy
    volumes:
      - ./data:/docker-entrypoint-initdb.d
      - ./mysql:/var/lib/mysql
    networks:
      - symfony
    healthcheck:
      test: [ 'CMD', '/usr/local/bin/healthcheck.sh', '--innodb_initialized' ]
      start_period: 15s
      interval: 10s
      timeout: 10s
      retries: 5

  tech-buy-symfony:
    container_name: tech-buy-symfony
    image: ghcr.io/openclassrooms-student-center/tech-buy-backend:2-0-0
    ports:
      - 8081:8081
    environment:
      - DATABASE_URL=mysql://root:techbuy@tech-buy-bdd:3306/techbuy?serverVersion=8&charset=utf8mb4
    depends_on:
      tech-buy-bdd:
        condition: service_healthy
    networks:
      - symfony
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8081/api/health" ]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 30s

  tech-buy-angular:
    container_name: jardin-actuel-angular
    image: ghcr.io/openclassrooms-student-center/tech-buy-frontend:2-0-0
    ports:
      - 8080:80
    networks:
      - symfony
    depends_on:
      tech-buy-symfony:
        condition: service_healthy

networks:
  symfony:


volumes:
  data:
Il y a donc trois conteneurs, qui sont dans l'ordre de démarrage : un MariaDB, un Symfony et un Angular.

Logs de démarrage du conteneur MariaDB (copiés/collés depuis Docker Desktop) :
2025-08-01 09:58:24.159 | 2025-08-01 07:58:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.7.2+maria~ubu2404 started.
2025-08-01 09:58:25.207 | 2025-08-01 07:58:25+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
2025-08-01 09:58:25.211 | 2025-08-01 07:58:25+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-08-01 09:58:25.228 | 2025-08-01 07:58:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.7.2+maria~ubu2404 started.
2025-08-01 09:58:25.823 | 2025-08-01 07:58:25+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2025-08-01 09:58:25.917 | 2025-08-01 7:58:25 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
2025-08-01 09:58:25.917 | 2025-08-01 7:58:25 0 [Note] Starting MariaDB 11.7.2-MariaDB-ubu2404 source revision 80067a69feaeb5df30abb1bfaf7d4e713ccbf027 server_uid Gv3IaraM2HePFe+u7BtgTWQ7+VU= as process 1
2025-08-01 09:58:25.958 | 2025-08-01 7:58:25 0 [Note] InnoDB: Compressed tables use zlib 1.3
2025-08-01 09:58:25.962 | 2025-08-01 7:58:25 0 [Note] InnoDB: Number of transaction pools: 1
2025-08-01 09:58:25.962 | 2025-08-01 7:58:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2025-08-01 09:58:25.962 | 2025-08-01 7:58:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2025-08-01 09:58:25.962 | 2025-08-01 7:58:25 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 95
2025-08-01 09:58:25.965 | 2025-08-01 7:58:25 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
2025-08-01 09:58:25.972 | 2025-08-01 7:58:25 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
2025-08-01 09:58:25.976 | 2025-08-01 7:58:25 0 [Note] InnoDB: Completed initialization of buffer pool
2025-08-01 09:58:25.982 | 2025-08-01 7:58:25 0 [Note] InnoDB: Buffered log writes (block size=512 bytes)
2025-08-01 09:58:26.215 | 2025-08-01 7:58:26 0 [Note] InnoDB: End of log at LSN=213819
2025-08-01 09:58:26.310 | 2025-08-01 7:58:26 0 [Note] InnoDB: Opened 3 undo tablespaces
2025-08-01 09:58:26.310 | 2025-08-01 7:58:26 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
2025-08-01 09:58:26.315 | 2025-08-01 7:58:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
2025-08-01 09:58:26.416 | 2025-08-01 7:58:26 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2025-08-01 09:58:26.427 | 2025-08-01 7:58:26 0 [Note] InnoDB: log sequence number 213819; transaction id 129
2025-08-01 09:58:26.428 | 2025-08-01 7:58:26 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-08-01 09:58:26.428 | 2025-08-01 7:58:26 0 [Note] Plugin 'wsrep-provider' is disabled.
2025-08-01 09:58:26.430 | 2025-08-01 7:58:26 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2025-08-01 09:58:26.491 | 2025-08-01 7:58:26 0 [Note] InnoDB: Buffer pool(s) load completed at 250801 7:58:26
2025-08-01 09:58:27.741 | 2025-08-01 7:58:27 0 [Note] Server socket created on IP: '0.0.0.0'.
2025-08-01 09:58:27.741 | 2025-08-01 7:58:27 0 [Note] Server socket created on IP: '::'.
2025-08-01 09:58:27.856 | 2025-08-01 7:58:27 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
2025-08-01 09:58:27.866 | 2025-08-01 7:58:27 0 [Note] mariadbd: ready for connections.
2025-08-01 09:58:27.867 | Version: '11.7.2-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
Logs de démarrage du conteneur Symfony (copiés/collés depuis Docker Desktop) :
2025-08-01 09:59:48.791 | [Fri Aug 1 07:59:48 2025] PHP 8.1.32 Development Server (http://0.0.0.0:8081) started
2025-08-01 09:59:53.824 | [Fri Aug 1 07:59:53 2025] 127.0.0.1:43838 Accepted
2025-08-01 09:59:53.900 | [Fri Aug 1 07:59:53 2025] [info] Matched route "api_health_check".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Checking for authenticator support.
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
2025-08-01 09:59:53.905 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
2025-08-01 09:59:53.907 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
2025-08-01 09:59:53.907 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
2025-08-01 09:59:53.907 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest".
2025-08-01 09:59:53.909 | [Fri Aug 1 07:59:53 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest".
2025-08-01 09:59:53.910 | [Fri Aug 1 07:59:53 2025] 127.0.0.1:43838 [200]: GET /api/health
2025-08-01 09:59:53.910 | [Fri Aug 1 07:59:53 2025] 127.0.0.1:43838 Closing
2025-08-01 10:00:03.990 | [Fri Aug 1 08:00:03 2025] 127.0.0.1:54476 Accepted
2025-08-01 10:00:04.039 | [Fri Aug 1 08:00:04 2025] [info] Matched route "api_health_check".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Checking for authenticator support.
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
2025-08-01 10:00:04.042 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
2025-08-01 10:00:04.044 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments".
2025-08-01 10:00:04.045 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments".
2025-08-01 10:00:04.045 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\Security\Http\Firewall\ContextListener::onKernelResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener::onResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::removeCspHeader".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener::onResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelResponse".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelFinishRequest".
2025-08-01 10:00:04.052 | [Fri Aug 1 08:00:04 2025] [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelFinishRequest".
2025-08-01 10:00:04.053 | [Fri Aug 1 08:00:04 2025] 127.0.0.1:54476 [200]: GET /api/health
2025-08-01 10:00:04.054 | [Fri Aug 1 08:00:04 2025] 127.0.0.1:54476 Closing
Logs de démarrage du conteneur Angular (copiés/collés depuis Docker Desktop) :
2025-08-01 10:00:58.031 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
2025-08-01 10:00:58.031 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
2025-08-01 10:00:58.032 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
2025-08-01 10:00:58.040 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
2025-08-01 10:00:58.076 | 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
2025-08-01 10:00:58.076 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
2025-08-01 10:00:58.076 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
2025-08-01 10:00:58.080 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
2025-08-01 10:00:58.082 | /docker-entrypoint.sh: Configuration complete; ready for start up
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: using the "epoll" event method
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: nginx/1.27.5
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: built by gcc 14.2.0 (Alpine 14.2.0)
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: OS: Linux 6.6.87.2-microsoft-standard-WSL2
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: start worker processes
2025-08-01 10:00:58.094 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 29
2025-08-01 10:00:58.095 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 30
2025-08-01 10:00:58.095 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 31
2025-08-01 10:00:58.095 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 32
2025-08-01 10:00:58.096 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 33
2025-08-01 10:00:58.097 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 34
2025-08-01 10:00:58.098 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 35
2025-08-01 10:00:58.099 | 2025/08/01 08:00:58 [notice] 1#1: start worker process 36
Je ne vois rien d'anormal. Pourtant, le site que je peux consulter (avec Chrome) sur http://localhost:8080/#/ ne reflète pas les modifications que j'apporte aux fichiers .html.

Exemple : fichier modifié app.component.html (j'ai ajouté un "testtesttest" au contenu textuel d'une balise <a>) :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<header id="main-header">
  <div>
    <a [routerLink]="['/']"><img src="assets/logo.png" alt="Tech&Buy"></a>
    <a [routerLink]="['/cart']"><img src="assets/cart.png" alt="Panier"></a>
  </div>
</header>
<nav id="main-nav">
  <ul>
    <li><a [routerLink]="['/products']">Tous les produits testtesttest</a></li>
    <li *ngFor="let category of categories"><a [routerLink]="['/category', category.id]">{{ category.name }}</a></li>
  </ul>
</nav>

<main>
  <router-outlet></router-outlet>
</main>

<footer id="main-footer">
  <div>
    <ul class="footer-links">
      <li><a [routerLink]="['/category', categories[0]?.id]">{{ categories[0]?.name }}</a></li>
      <li><a [routerLink]="['/category', categories[1]?.id]">{{ categories[1]?.name }}</a></li>
    </ul>
    <ul class="footer-links">
      <li><a [routerLink]="['/category', categories[2]?.id]">{{ categories[2]?.name }}</a></li>
      <li><a [routerLink]="['/contact']">Contactez-nous</a></li>
    </ul>
    <div><a [routerLink]="['/']"><img src="assets/logo-footer.png" alt="Tech&Buy"></a></div>
  </div>
</footer>
Pourtant, je ne vois pas ma modif dans Chrome : Nom : toto.png
Affichages : 69
Taille : 1,33 Mo

J'ai vidé le cache, redémarré les conteneurs... Je ne sais pas quoi faire. Est-ce que quelqu'un peut m'aider ? Merci d'avance