[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Docker tutorial



On 6/28/25 07:30, john doe wrote:
On 6/28/25 05:33, Borden wrote:
I'm new to Docker and tried to follow the guide at https:// wiki.debian.org/Docker, which links to https://wiki.debian.org/Cloud/ CreateDockerImage. On the latter, I hit a hard stop at the first command, `sudo .../mkimage.sh -t $USER/minbase debootstrap -- variant=minbase stable` because the mkimage.sh script isn't anywhere in the docker.io package.

Could someone guide me to a working tutorial to build a “recommended” Debian Docker image, and I'll see if I can revise the Wiki to reflect that?


I guess you need mkimage PKG.

[1] https://manpages.debian.org/testing/u-boot-tools/mkimage.1.en.html


According to [1] the SCR that you are looking for is located at "/usr/share/docker.io/contrib". Simply substituting in the sudo CMD the three dots by that path should do it:


$ sudo /usr/share/docker.io/contrib/mkimage.sh


HTH.

[1] https://wiki.debian.org/Cloud/CreateDockerImage#Using_.28upstream_provided_.22contrib.22_script.29_mkimage.sh

--
John Doe


Reply to: