Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #280500 > unrolled thread
| Started by | Borden <borden_c@tutanota.com> |
|---|---|
| First post | 2025-06-30 01:40 +0200 |
| Last post | 2025-07-01 11:20 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.user
Re: Docker tutorial Borden <borden_c@tutanota.com> - 2025-06-30 01:40 +0200
Re: Docker tutorial "Jonathan Dowland" <jmtd@debian.org> - 2025-06-30 14:40 +0200
Re: Docker tutorial Tianon Gravi <tianon@debian.org> - 2025-07-01 10:50 +0200
Re: Docker tutorial "Jonathan Dowland" <jmtd@debian.org> - 2025-07-01 11:20 +0200
| From | Borden <borden_c@tutanota.com> |
|---|---|
| Date | 2025-06-30 01:40 +0200 |
| Subject | Re: Docker tutorial |
| Message-ID | <L39MR-e6Pb-1@gated-at.bofh.it> |
Thank you both, John & Geert, for your comments. In general, https://wiki.debian.org/Docker warns that, for the images at https://hub.docker.com/_/debian, "you may not trust their maintainer on having done the right thing for you." That sounds awfully like a security warning. Yet Tianon and Paul Tagliamonte maintain those repos, so they should be perfectly safe and reliable, no? If so, I'll tone down the language to say that the images are general purpose, and the reader may want to customise their own. If I understand Geert's advice, the official Docker images use debuerreotype, so your link to the GitHub repo would, in theory, allow me to roll my own containers virtually identical to the official images. As not to duplicate effort, I may just link the wiki/Docker page to GitHub. Tying in John's commentary, it appears mkimage.sh got moved out of docker.io. In fairness, I had no way of knowing that mkimage.sh referred to the mkimage package and not some custom script in docker.io. Based on the official images, debuerreotype would be the "recommended way" to build an image over mkimage.sh, right? I just want to make sure my foundations are correct before I start breaking things.
[toc] | [next] | [standalone]
| From | "Jonathan Dowland" <jmtd@debian.org> |
|---|---|
| Date | 2025-06-30 14:40 +0200 |
| Message-ID | <L3lXH-eez8-9@gated-at.bofh.it> |
| In reply to | #280500 |
I was startled to discover the wiki page Cloud/CreateDockerImage even recommended some scripts *I* wrote, because I'd added them to the page a decade ago. I've just removed those sections, as those scripts are unmaintained and so it was misleading. On Mon Jun 30, 2025 at 12:16 AM BST, Borden wrote: > If I understand Geert's advice, the official Docker images > use debuerreotype, so your link to the GitHub repo would, in > theory, allow me to roll my own containers virtually identical to the > official images. As not to duplicate effort, I may just link the > wiki/Docker page to GitHub. > > Based on the official images, debuerreotype would be the "recommended > way" to build an image over mkimage.sh, right? Yes that's the method I would attempt: It's at least currently in use, so it should work, although I don't know how "friendly" it will be. Fingers crossed. -- Please do not CC me for listmail. 👱🏻 Jonathan Dowland ✎ jmtd@debian.org 🔗 https://jmtd.net
[toc] | [prev] | [next] | [standalone]
| From | Tianon Gravi <tianon@debian.org> |
|---|---|
| Date | 2025-07-01 10:50 +0200 |
| Message-ID | <L3EQF-er1G-5@gated-at.bofh.it> |
| In reply to | #280500 |
On Sun, 29 Jun 2025 at 19:39, Borden <borden_c@tutanota.com> wrote: > In general, https://wiki.debian.org/Docker warns that, for the images at https://hub.docker.com/_/debian, "you may not trust their maintainer on having done the right thing for you." That sounds awfully like a security warning. Yet Tianon and Paul Tagliamonte maintain those repos, so they should be perfectly safe and reliable, no? Oof, this was definitely extremely outdated; the way the images are built has changed dramatically since that note was added more than ten years ago, so I've just removed that entire paragraph now. 🙇 > If I understand Geert's advice, the official Docker images use debuerreotype, so your link to the GitHub repo would, in theory, allow me to roll my own containers virtually identical to the official images. As not to duplicate effort, I may just link the wiki/Docker page to GitHub. Yeah, the whole goal of debuerreotype is that you could recreate not just virtually identical images, but exactly identical images. If that's something you want to do and you're not able to do so successfully, I'd consider that a bug and would welcome a filing with details so I can investigate and fix it. ❤ > Tying in John's commentary, it appears mkimage.sh got moved out of docker.io. In fairness, I had no way of knowing that mkimage.sh referred to the mkimage package and not some custom script in docker.io. Based on the official images, debuerreotype would be the "recommended way" to build an image over mkimage.sh, right? Whoops, that's actually technically my bad: https://github.com/moby/moby/pull/41440 (see also https://bugs.debian.org/969940#22) As noted in that upstream PR, those scripts were long-since unmaintained and really shouldn't be used. If you'd like to create your own images, I'd suggest debootstrap, mmdebstrap, or debuerreotype (depending on what you're trying to accomplish by creating your own and what your goals are). If you want to reproduce the images maintained at https://hub.docker.com/_/debian by paultag and I, debuerreotype is designed for that, but if you just need minimal images of a modern release, mmdebstrap is probably the best bet. As a consequence of this, I'm not sure https://wiki.debian.org/Cloud/CreateDockerImage provides any value anymore over the content that already exists at https://wiki.debian.org/Docker, save for *maybe* that initial paragraph, and I'd honestly consider deleting it entirely but I'm not sure what the consequences of that might be, so deleting most of the content is probably a safer first pass? > I just want to make sure my foundations are correct before I start breaking things. ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4 (please feel free to keep me in explicit CC - I'm not subscribed to "debian-user" but I'm happy to discuss this further 👍)
[toc] | [prev] | [next] | [standalone]
| From | "Jonathan Dowland" <jmtd@debian.org> |
|---|---|
| Date | 2025-07-01 11:20 +0200 |
| Message-ID | <L3FjH-errO-3@gated-at.bofh.it> |
| In reply to | #280520 |
On Tue Jul 1, 2025 at 9:29 AM BST, Tianon Gravi wrote: > As a consequence of this, I'm not sure > https://wiki.debian.org/Cloud/CreateDockerImage provides any value > anymore over the content that already exists at > https://wiki.debian.org/Docker, save for *maybe* that initial > paragraph, and I'd honestly consider deleting it entirely but I'm not > sure what the consequences of that might be, so deleting most of the > content is probably a safer first pass? It should probably go; I've marked it to propose it for deletion. Thanks, -- Please do not CC me for listmail. 👱🏻 Jonathan Dowland ✎ jmtd@debian.org 🔗 https://jmtd.net
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web