Notebook stall when run from dockerimage

Dockerfile

FROM jupyter/julia-notebook:latest

WORKDIR /my_folder

docker-compose.yml

version: '3.7'

services:
  julia:
    build:
      context: .
      dockerfile: Dockerfile
    volumes:
      - .folder:/my_folder
    ports:
      - 12345:1234
      - 8889:8888

Here is my terminal. It stall no error.

(base) jovyan@b8f6e76ef845:/my_folder$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.3 (2023-08-24)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> println("asfd")
asfd

julia> using IJulia
[ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]

julia> notebook()
[ Info: running `/opt/conda/bin/jupyter notebook`

OSX: 14.1.2 (23B92)
RAM: 96GB

Could you describe the problem in more detail?

Sure.
Docker version 24.0.6, build ed223bc
Docker Compose version v2.23.0-desktop.1
M2

Could you describe the stalling problem in more detail?

Thank you for your response. I decided to use Pluto instead.