Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id C9025223DFB for <~alpine/users@lists.alpinelinux.org>; Tue, 9 Dec 2025 07:24:29 +0000 (UTC) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-7b9c17dd591so4960147b3a.3 for <~alpine/users@lists.alpinelinux.org>; Mon, 08 Dec 2025 23:24:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765265068; x=1765869868; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XDNta/0vBk2GM/wkKfUybMy+Ft6m3Xnj970To1oRnPg=; b=KyQot6wEpYgeFYtBKg9LZsbNWXijMLzk4QrtWs1JR6bfmlkiqgWmUPAwa262p0LNFc AKyQw8g6+LmmWpnWhwkTCSis5bU8OTFMfOcrZtTjP7wOEj+yJW6srbFLVfW6ttNP9BMJ Tg//fBoYuUw+nLDMEXvcOpRQUbA0IGQ2JpzskYsa8OjiEdgtyzaC/Y5XtzQXH7zTMEZl pt/b7jsn6Mxq1enmcj0S6j6Vx6p12R9EaXOa6SxAHK3S5ADt163pOiobYLydqd4ANSYl zxPJ23Up9ArM4PxA2XI3sc8s6gmBaEDjhTnw66k7kahRmwRsVvIJbthrmdLJkJmjgOBC KJvQ== X-Gm-Message-State: AOJu0YyOhZaDboDL8FjnY/gh9WLKoPX6S3abC+nNrC+kGX3YCEiPHrB1 ssJmjO01SAKzaeTt/5BhuszXoCfegNVbOEhvNVl1IFMarRoaCE69ZVughLLwrMzTwjCfBZZDoWq Cv4XlNsxReKXjNHmjb1IWSu4K6Dj1qs8= X-Gm-Gg: ASbGncvp1ufE+GGgcL/4dyEm73slFuCLFXRIlltpmtlnCP7+80emqqRndNHebNCW/Fy fOo4AvKFtKdjH7KyCxVRNSLNtJyHo2TMN3XGLrG1qpJ/UQK8CckqyJcdWXY9PqvtCSoi9FZ7Q7w zSQ3phy1/o31klUVWyzzhO6BpALcufn6UfT3DvLpeu66pi7FZ+7SxNlJTZlmneRVqMYz7gGsB0X +914okGHfEFle4cUO5bYHLM9S86kQrG6ra+ktxKVG7GpF6b9+VmNmHfeA4jRR4CXmmawg== X-Google-Smtp-Source: AGHT+IH66+gQu5+M9lfzgihKDmmKQhkRj7hvFlGw68aLpmfw1tuMvzkgQinxJx6tBYDYb4bGJ4oDqlC6B56NPJv2674= X-Received: by 2002:a05:7022:2225:b0:119:e56b:98b8 with SMTP id a92af1059eb24-11e032a9d66mr8669150c88.31.1765265068040; Mon, 08 Dec 2025 23:24:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Guido Trotter Date: Tue, 9 Dec 2025 07:24:18 +0000 X-Gm-Features: AQt7F2rEWU4Dh0w6ipMMZ_XgJ-JxB0TDCGFEbiyrMIecGsLbqMRC6-lNklsE0LA Message-ID: Subject: Re: running containers (Podman or Docker) in diskless mode ? To: Jerome Marc Cc: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="00000000000050a6bd06457fcde6" --00000000000050a6bd06457fcde6 Content-Type: text/plain; charset="UTF-8" If you're running just a container it should depend on what process you run in the container... You wouldn't need to run "the os" necessarily, so using read only would work if your process never writes to disk. In some cases you might not need an os image at all. On Tue, 9 Dec 2025, 01:26 Jerome Marc, wrote: > Hello, > > I would like to deploy a small container on my RPI. > The OS is running in diskless mode (lbu) and I have a quite large data > partition which is read-only. > I use the data partition to store large stuff like node libraries. > > By the way I was expecting to be able to start a container from this > read-only partition. As the container is immutable I don't see any reason > to make the partition rw, except of course when updating the docker image. > So does anyone tried (and hopefully succeeded) to run a container that way ? > > Thank you. > > > --00000000000050a6bd06457fcde6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you're running just a container it should depend o= n what process you run in the container... You wouldn't need to run &qu= ot;the os" necessarily, so using read only would work if your process = never writes to disk. In some cases you might not need an os image at all.<= /div>
On Tue, 9 Dec 2025, 01:26 Jerome Marc, <marcgruselle@gmail.com> wrote:
Hello= ,

I would like to deploy a small container on my RPI= .
The=C2=A0OS is running in diskless mode (lbu) and I have a quit= e=C2=A0large data partition which is read-only.
I use the data pa= rtition to store large stuff=C2=A0like node libraries.

=
By the way I was expecting to be able to start a container from this r= ead-only partition. As the container is immutable I don't see any reaso= n to make the partition rw, except of course when updating the docker image= . So does anyone tried (and hopefully succeeded) to run a container that wa= y ?

Thank you.


=
--00000000000050a6bd06457fcde6--