https://dev.to/thakkaryash94/how-many-ways-to-build-a-container-image-4g3p
suggests several different ways that a Kubernetes pod can be used to build
a container with using the docker command.

It also provides a nice summary of the risks of using the docker command to
build untrusted images.

On Sat, Feb 6, 2021 at 11:44 AM Desmond Lim <[email protected]> wrote:

> Hi All,
>
> I am trying to build a docker image inside a Jenkins pod.  However, I got
> the below errors.  When I login to the Jenkins pod, I cannot find the
> docker command.  I have installed all plugins related to Jenkins and am
> using 'jenkins/jenkins:lts' image from docker hub.
>
> [docker-demo] $ /bin/sh -xe /tmp/jenkins2842149568243187838.sh + docker
> build . -t anandr72/nodeapp /tmp/jenkins2842149568243187838.sh: 2:
> /tmp/jenkins2842149568243187838.sh: docker: not found Build step 'Execute
> shell' marked build as failure Finished: FAILURE
>
> Appreciate if someone can help.  Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/31b7fa45-4b80-43b6-a83b-0d4c1417e010n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/31b7fa45-4b80-43b6-a83b-0d4c1417e010n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGXqdOzsRAnehrbGf%2BUzjpLam2zb16p7_KQcYTbBVPn%3DQ%40mail.gmail.com.

Reply via email to