public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "AntonQuentin Schulz" <quentin.schulz@cherry.de>,
	<docs@lists.yoctoproject.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [yocto-docs PATCH] Add scripts to build the docs in containers
Date: Tue, 03 Dec 2024 11:48:19 +0100	[thread overview]
Message-ID: <D6208NWRJAPX.SPZ8IMGUAUZ@bootlin.com> (raw)
In-Reply-To: <D5YR4057DRW4.36YJYWAR7MRDB@bootlin.com>

Hi Quentin,

On Fri Nov 29, 2024 at 4:01 PM CET, Antonin Godard wrote:
[...]
>>> +  fi
>>> +
>>> +  $CONTAINERCMD run \
>>> +    --rm --interactive --tty \
>>> +    --volume "$DOCS_DIR:/docs:rw" \
>>> +    --workdir "/docs" \
>>> +    $EXTRA_ARGS_RUN \
>>> +    "yocto-docs-$image" \
>>
>> please prepend the image name with localhost/ to be sure we don't end up 
>> downloading some yocto-docs-ubuntu from docker.io for example :)
>
> Nice tip, didn't know about that one, thanks :)

Hm, this doesn't seem to work for me, and I couldn't find anything on the net
that shows this. Is there something I'm missing?

  Unable to find image 'localhost/yocto-docs-ubuntu-24-04:latest' locally
  docker: Error response from daemon: Get "http://localhost/v2/": dial tcp [::1]:80: connect: connection refused.


Building an image named "localhost/..." will work, but I think it's just
building an image with the name "localhost/...". Not really building something
local.


Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


  reply	other threads:[~2024-12-03 10:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 13:22 [yocto-docs PATCH] Add scripts to build the docs in containers Antonin Godard
2024-11-25 18:26 ` [docs] " Quentin Schulz
2024-11-29 15:01   ` Antonin Godard
2024-12-03 10:48     ` Antonin Godard [this message]
2024-12-03 11:37       ` Quentin Schulz
2024-12-03 12:24         ` Antonin Godard
2024-12-03 12:32           ` Quentin Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D6208NWRJAPX.SPZ8IMGUAUZ@bootlin.com \
    --to=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=quentin.schulz@cherry.de \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox