Website: Make container-serve of kubernetes/Website fails on Mac catalina 10.15 - Docker Engine -19.03

Created on 11 Oct 2020  Â·  17Comments  Â·  Source: kubernetes/website

raghv-MacBook-Pro:website raghv$ make container-serve
WARNING Submodule not initialized: themes/docsy
docker run --rm --interactive --tty --volume /Users/a/OSS/website:/src --mount type=tmpfs,destination=/src/resources,tmpfs-mode=0777 -p 1313:1313 kubernetes-hugo:v0.74.3-563ed7805f37 hugo server --buildFuture --bind 0.0.0.0
Built in 63411 ms
Error: Error building site: "/src/content/en/blog/_posts/2020-10-01-contributing-to-the-development-guide/index.md:46:1": failed to extract shortcode: template for shortcode "imgproc" not found
make: * [container-serve] Error 255

kinsupport needs-triage triagneeds-information

Most helpful comment

There's a close button under the comment field. Kubernetes contributors with the access to do it can also have Prow close the issue:
/close

All 17 comments

@raghvenders: This issue is currently awaiting triage.

SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the triage/accepted label.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

It also fails with the same error on Linux (openSuse Tumbleweed)

The result of make container-image and make container-serve:

$ make container-image
docker build . \
        --network=host \
        --tag kubernetes-hugo:v0.74.3-9f93d97c7112 \
        --build-arg HUGO_VERSION=0.74.3
Sending build context to Docker daemon  3.584kB
Step 1/8 : FROM alpine:latest
 ---> f70734b6a266
Step 2/8 : LABEL maintainer="Luc Perkins <[email protected]>"
 ---> Using cache
 ---> 586d7135e2d4
Step 3/8 : RUN apk add --no-cache     curl     git     openssh-client     rsync     build-base     libc6-compat     npm &&     npm install -G autoprefixer postcss-cli
 ---> Running in d111d6019423
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/38) Installing libgcc (9.3.0-r0)
(2/38) Installing libstdc++ (9.3.0-r0)
(3/38) Installing binutils (2.33.1-r0)
(4/38) Installing libmagic (5.37-r1)
(5/38) Installing file (5.37-r1)
(6/38) Installing gmp (6.1.2-r1)
(7/38) Installing isl (0.18-r0)
(8/38) Installing libgomp (9.3.0-r0)
(9/38) Installing libatomic (9.3.0-r0)
(10/38) Installing mpfr4 (4.0.2-r1)
(11/38) Installing mpc1 (1.1.0-r1)
(12/38) Installing gcc (9.3.0-r0)
(13/38) Installing musl-dev (1.1.24-r2)
(14/38) Installing libc-dev (0.7.2-r0)
(15/38) Installing g++ (9.3.0-r0)
(16/38) Installing make (4.2.1-r2)
(17/38) Installing fortify-headers (1.1-r0)
(18/38) Installing build-base (0.5-r1)
(19/38) Installing ca-certificates (20191127-r2)
(20/38) Installing nghttp2-libs (1.40.0-r1)
(21/38) Installing libcurl (7.67.0-r1)
(22/38) Installing curl (7.67.0-r1)
(23/38) Installing expat (2.2.9-r1)
(24/38) Installing pcre2 (10.34-r1)
(25/38) Installing git (2.24.3-r0)
(26/38) Installing libc6-compat (1.1.24-r2)
(27/38) Installing c-ares (1.15.0-r0)
(28/38) Installing libuv (1.34.0-r0)
(29/38) Installing nodejs (12.15.0-r1)
(30/38) Installing npm (12.15.0-r1)
(31/38) Installing openssh-keygen (8.1_p1-r0)
(32/38) Installing ncurses-terminfo-base (6.1_p20200118-r4)
(33/38) Installing ncurses-libs (6.1_p20200118-r4)
(34/38) Installing libedit (20191211.3.1-r0)
(35/38) Installing openssh-client (8.1_p1-r0)
(36/38) Installing libacl (2.2.53-r0)
(37/38) Installing popt (1.16-r7)
(38/38) Installing rsync (3.1.3-r2)
Executing busybox-1.31.1-r9.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 254 MiB in 52 packages
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN [email protected] requires a peer of postcss@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

+ [email protected]
+ [email protected]
added 102 packages from 71 contributors and audited 103 packages in 13.876s

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Removing intermediate container d111d6019423
 ---> e1efa63e41c1
Step 4/8 : ARG HUGO_VERSION
 ---> Running in 7388dc96ff62
Removing intermediate container 7388dc96ff62
 ---> dfb9951f5c81
Step 5/8 : RUN mkdir -p /usr/local/src &&     cd /usr/local/src &&     curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | tar -xz &&     mv hugo /usr/local/bin/hugo &&     addgroup -Sg 1000 hugo &&     adduser -Sg hugo -u 1000 -h /src hugo
 ---> Running in 12b346b58703
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   663  100   663    0     0   1700      0 --:--:-- --:--:-- --:--:--  1700
100 14.6M  100 14.6M    0     0   702k      0  0:00:21  0:00:21 --:--:--  362k
Removing intermediate container 12b346b58703
 ---> 3acb3d45c55d
Step 6/8 : WORKDIR /src
 ---> Running in ba18fe0ed6b2
Removing intermediate container ba18fe0ed6b2
 ---> e2ffd22e1915
Step 7/8 : USER hugo:hugo
 ---> Running in 114a1482f390
Removing intermediate container 114a1482f390
 ---> 2f4a45215848
Step 8/8 : EXPOSE 1313
 ---> Running in 0a3b9971ba33
Removing intermediate container 0a3b9971ba33
 ---> e9c334853070
Successfully built e9c334853070
Successfully tagged kubernetes-hugo:v0.74.3-9f93d97c7112
$ make container-serve
WARNING Submodule not initialized: themes/docsy
docker run --rm --interactive --tty --volume /home/empty0x7/src/github/website:/src --mount type=tmpfs,destination=/src/resources,tmpfs-mode=0777 -p 1313:1313 kubernetes-hugo:v0.74.3-9f93d97c7112 hugo server --buildFuture --bind 0.0.0.0
Built in 2174 ms
Error: Error building site: "/src/content/en/blog/_posts/2020-10-01-contributing-to-the-development-guide/index.md:46:1": failed to extract shortcode: template for shortcode "imgproc" not found
make: *** [Makefile:71: container-serve] Error 255
$ 

I tried to remove docker images of Hugo and build again:

$ docker images
REPOSITORY          TAG                    IMAGE ID            CREATED             SIZE
kubernetes-hugo     v0.74.3-9f93d97c7112   e9c334853070        4 minutes ago       307MB
kubernetes-hugo     latest                 350481a89b73        5 months ago        244MB
$ docker image rm kubernetes-hugo
Untagged: kubernetes-hugo:latest
Deleted: sha256:350481a89b73e2b25cf9967ea492da9e367be20a4ed2e7e7a9c13050a4ae169f
Deleted: sha256:7410b7cd978dff946ffe429d0b4010af74f6cbce4064063a20c21344d5ee48a9
Deleted: sha256:2ea04f412d713c04c99ee34e579d5a09bfad037310181614b5042fed48f4fb0a
Deleted: sha256:e67efe95809eb0afaf2416643a9d3424c2b5d88cf56b575e4e60e9f9dd604c56
Deleted: sha256:11b727a4eaf93c24d851440a5f6bdeb387fbd0be4deeb2583bbffdad73fce3ae
Deleted: sha256:d6605a1285c2d43b21ec610de783035b019cf26683dc8db9ab1ff183584c8a42
Deleted: sha256:15a58a58bc30e2a4d3931bb6d07fe50bfc0de06a3a24d6e9b119652bd83f9065
$ docker images
REPOSITORY          TAG                    IMAGE ID            CREATED             SIZE
kubernetes-hugo     v0.74.3-9f93d97c7112   e9c334853070        4 minutes ago       307MB
$ docker image rm kubernetes-hugo:v0.74.3-9f93d97c7112
Untagged: kubernetes-hugo:v0.74.3-9f93d97c7112
Deleted: sha256:e9c3348530707343fdfdea2a7fed1e57bc065c0f7e09031d3e80dc304714e13e
Deleted: sha256:2f4a45215848454bb62d743aaa74ff9ad2c52ed1dead1a902b62844d278001dc
Deleted: sha256:e2ffd22e1915a224a9d4914f1e2db9da6f1ef775726bea19820a2780044de330
Deleted: sha256:3acb3d45c55d8cc6a0ffe4715f39cfee2a62d936ef98586d55d0dafa4f6dbc05
Deleted: sha256:463727c5b9ad9cf1da9e6c425a41b775f6e876c1f8bfd2686b279e69ffff4bc1
Deleted: sha256:dfb9951f5c8186cb6aed7316bb9c6fc78389d863380201e366cb30ccd0cc6e15
Deleted: sha256:e1efa63e41c1bb631351b0365068c801ac63a26a5cb6a6bef2c488b7e895b4ad
Deleted: sha256:487c9fdd15e12b554b92c7818174e8216abe047b9139e3e35437d91258308f61
Deleted: sha256:586d7135e2d46f62a25c8cbdc72ac762c6fe14dc451e1ad39f8193a7f58887d5
$ 
$ 
$  

After removing the images, the error changed:

$ make container-image
docker build . \
        --network=host \
        --tag kubernetes-hugo:v0.74.3-9f93d97c7112 \
        --build-arg HUGO_VERSION=0.74.3
Sending build context to Docker daemon  3.584kB
Step 1/8 : FROM alpine:latest
 ---> f70734b6a266
Step 2/8 : LABEL maintainer="Luc Perkins <[email protected]>"
 ---> Running in 8cb64a9ceaf6
Removing intermediate container 8cb64a9ceaf6
 ---> 0b43edd4a60d
Step 3/8 : RUN apk add --no-cache     curl     git     openssh-client     rsync     build-base     libc6-compat     npm &&     npm install -G autoprefixer postcss-cli
 ---> Running in 75dc54b91056
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/38) Installing libgcc (9.3.0-r0)
(2/38) Installing libstdc++ (9.3.0-r0)
(3/38) Installing binutils (2.33.1-r0)
(4/38) Installing libmagic (5.37-r1)
(5/38) Installing file (5.37-r1)
(6/38) Installing gmp (6.1.2-r1)
(7/38) Installing isl (0.18-r0)
(8/38) Installing libgomp (9.3.0-r0)
(9/38) Installing libatomic (9.3.0-r0)
(10/38) Installing mpfr4 (4.0.2-r1)
(11/38) Installing mpc1 (1.1.0-r1)
(12/38) Installing gcc (9.3.0-r0)
(13/38) Installing musl-dev (1.1.24-r2)
(14/38) Installing libc-dev (0.7.2-r0)
(15/38) Installing g++ (9.3.0-r0)
(16/38) Installing make (4.2.1-r2)
(17/38) Installing fortify-headers (1.1-r0)
(18/38) Installing build-base (0.5-r1)
(19/38) Installing ca-certificates (20191127-r2)
(20/38) Installing nghttp2-libs (1.40.0-r1)
(21/38) Installing libcurl (7.67.0-r1)
(22/38) Installing curl (7.67.0-r1)
(23/38) Installing expat (2.2.9-r1)
(24/38) Installing pcre2 (10.34-r1)
(25/38) Installing git (2.24.3-r0)
(26/38) Installing libc6-compat (1.1.24-r2)
(27/38) Installing c-ares (1.15.0-r0)
(28/38) Installing libuv (1.34.0-r0)
(29/38) Installing nodejs (12.15.0-r1)
(30/38) Installing npm (12.15.0-r1)
(31/38) Installing openssh-keygen (8.1_p1-r0)
(32/38) Installing ncurses-terminfo-base (6.1_p20200118-r4)
(33/38) Installing ncurses-libs (6.1_p20200118-r4)
(34/38) Installing libedit (20191211.3.1-r0)
(35/38) Installing openssh-client (8.1_p1-r0)
(36/38) Installing libacl (2.2.53-r0)
(37/38) Installing popt (1.16-r7)
(38/38) Installing rsync (3.1.3-r2)
Executing busybox-1.31.1-r9.trigger
Executing ca-certificates-20191127-r2.trigger
OK: 254 MiB in 52 packages
npm WARN saveError ENOENT: no such file or directory, open '/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN [email protected] requires a peer of postcss@^8.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of postcss@^8.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

+ [email protected]
+ [email protected]
added 102 packages from 71 contributors and audited 103 packages in 8.113s

11 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Removing intermediate container 75dc54b91056
 ---> ddf9887aff61
Step 4/8 : ARG HUGO_VERSION
 ---> Running in 119d9b8fbfc7
Removing intermediate container 119d9b8fbfc7
 ---> 54b85a9b9fff
Step 5/8 : RUN mkdir -p /usr/local/src &&     cd /usr/local/src &&     curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | tar -xz &&     mv hugo /usr/local/bin/hugo &&     addgroup -Sg 1000 hugo &&     adduser -Sg hugo -u 1000 -h /src hugo
 ---> Running in bd7cafa134b0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   663  100   663    0     0   1582      0 --:--:-- --:--:-- --:--:--  1582
100 14.6M  100 14.6M    0     0   730k      0  0:00:20  0:00:20 --:--:-- 1090k
Removing intermediate container bd7cafa134b0
 ---> dc98f64f8963
Step 6/8 : WORKDIR /src
 ---> Running in 2e45a266e111
Removing intermediate container 2e45a266e111
 ---> 7b1a9797c850
Step 7/8 : USER hugo:hugo
 ---> Running in 60559d992ab8
Removing intermediate container 60559d992ab8
 ---> a25f5b5008f7
Step 8/8 : EXPOSE 1313
 ---> Running in 03e925bd0450
Removing intermediate container 03e925bd0450
 ---> 7d181205ce9c
Successfully built 7d181205ce9c
Successfully tagged kubernetes-hugo:v0.74.3-9f93d97c7112
$ 
$ 
$ 
$ 
$ make container-serve
WARNING Submodule not initialized: themes/docsy
docker run --rm --interactive --tty --volume /home/empty0x7/src/github/website:/src --mount type=tmpfs,destination=/src/resources,tmpfs-mode=0777 -p 1313:1313 kubernetes-hugo:v0.74.3-9f93d97c7112 hugo server --buildFuture --bind 0.0.0.0
Error: add site dependencies: create deps: failed to create file caches from configuration: mkdir /src/resources/_gen: permission denied
make: *** [Makefile:71: container-serve] Error 255
$ 

OS version and Docker version:

$ cat /etc/os-release 
NAME="openSUSE Tumbleweed"
# VERSION="20200919"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20200919"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20200919"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"
$ 
$ docker -v
Docker version 19.03.12, build 48a66213fe17
$ 

/assign @sftim

Hi, does this happened from the latest master branch?

@sftim @irvifa - permission issue commented above by "Pick1a1username" looks like duplicate issue reported.
It didn't encounter this now.

But the original issue i mentioned "Error: Error building site: "/src/content/en/blog/_posts/2020-10-01-contributing-to-the-development-guide/index.md:46:1": failed to extract shortcode: template for shortcode "imgproc" not found
make:
[container-serve] Error 255"*.

is currently happening and i tried to go back few days of commits it does happen to.

i try to run with docker daemon with debug and logging to possibly give more logs.

@raghvenders can you paste the log there?

/triage needs-information

I don't have any problem with the latest master (have cleaned all previous build, execute make container-image, then make container-serve). Here also on Mac.

However, I failed to execute make container-serve on CentOS and Ubuntu (on server):

# make container-serve
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
WARNING Submodule not initialized: themes/docsy
docker run --rm --interactive --tty --volume /root/website:/src --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 kubernetes-hugo:v0.74.3-f6e6cbfd6038 hugo server --buildFuture --bind 0.0.0.0 --destination /tmp/hugo --cleanDestinationDir
Built in 2848 ms
Error: Error building site: "/src/content/en/blog/_posts/2020-10-01-contributing-to-the-development-guide/index.md:46:1": failed to extract shortcode: template for shortcode "imgproc" not found
make: *** [container-serve] Error 255

If I remove shortcode imgproc from /src/content/en/blog/_posts/2020-10-01-contributing-to-the-development-guide/index.md:46:1 then the error changed to:

docker run --rm --interactive --tty --volume /root/website:/src --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 kubernetes-hugo:v0.74.3-f6e6cbfd6038 hugo server --buildFuture --bind 0.0.0.0 --destination /tmp/hugo --cleanDestinationDir
[?25lBuilding sites … [0;33mWARN[0m 2020/10/12 10:37:25 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
[0;33mWARN[0m 2020/10/12 10:37:25 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
[0;33mWARN[0m 2020/10/12 10:37:25 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
[0;33mWARN[0m 2020/10/12 10:37:25 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
[0;33mWARN[0m 2020/10/12 10:37:25 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
...
[0;33mWARN[0m 2020/10/12 10:37:26 found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
[1;31mERROR[0m 2020/10/12 10:37:26 render of "page" failed: execute of template failed: template: case-studies/single.html:4:5: executing "case-studies/single.html" at <partial "head.html" .>: error calling partial: [1;36m"/src/layouts/partials/head.html:39:3"[0m: execute of template failed: template: partials/head.html:39:3: executing "partials/head.html" at <partialCached "head-css.html" . "asdf">: error calling partialCached: partial "head-css.html" not found
[1;31mERROR[0m 2020/10/12 10:37:26 render of "page" failed: execute of template failed: template: case-studies/single.html:4:5: executing "case-studies/single.html" at <partial "head.html" .>: error calling partial: [1;36m"/src/layouts/partials/head.html:39:3"[0m: execute of template failed: template: partials/head.html:39:3: executing "partials/head.html" at <partialCached "head-css.html" . "asdf">: error calling partialCached: partial "head-css.html" not found
[1;31mERROR[0m 2020/10/12 10:37:26 render of "page" failed: execute of template failed: template: case-studies/single.html:4:5: executing "case-studies/single.html" at <partial "head.html" .>: error calling partial: [1;36m"/src/layouts/partials/head.html:39:3"[0m: execute of template failed: template: partials/head.html:39:3: executing "partials/head.html" at <partialCached "head-css.html" . "asdf">: error calling partialCached: partial "head-css.html" not found
[1;31mERROR[0m 2020/10/12 10:37:26 render of "page" failed: execute of template failed: template: case-studies/single.html:4:5: executing "case-studies/single.html" at <partial "head.html" .>: error calling partial: [1;36m"/src/layouts/partials/head.html:39:3"[0m: execute of template failed: template: partials/head.html:39:3: executing "partials/head.html" at <partialCached "head-css.html" . "asdf">: error calling partialCached: partial "head-css.html" not found
[?25h
[KBuilt in 4640 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/search.html:4:7: executing "_default/search.html" at <partial "head.html" .>: error calling partial: [1;36m"/src/layouts/partials/head.html:39:3"[0m: execute of template failed: template: partials/head.html:39:3: executing "partials/head.html" at <partialCached "head-css.html" . "asdf">: error calling partialCached: partial "head-css.html" not found
Makefile:71: recipe for target 'container-serve' failed

No matter what I do (changing branch to 1.19, etc) it's still failed. It might as well my machines issue.

WARNING Submodule not initialized: themes/docsy

Try running this first:

git submodule update --init --recursive --depth 1

/triage support

@sftim: The label(s) triage/support cannot be applied, because the repository doesn't have them

In response to this:

WARNING Submodule not initialized: themes/docsy

Try running this first:

git submodule update --init --recursive --depth 1

/triage support

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/kind support

git submodule update --init --recursive --depth 1

That's the step that I forgot for a new machines (ran that on my Mac long time ago). No more issues on my side (my local and those servers before).

I think it's pretty clear here https://github.com/kubernetes/website#prerequisites

When you got WARNING Submodule not initialized: themes/docsy in your log when running make container-serve, it indicates that you haven't run steps in https://github.com/kubernetes/website#prerequisites, notably the git submodule update --init --recursive --depth 1 command

@raghvenders I also ran into the same issue failed to extract shortcode: template for shortcode "imgproc" not found when I forgot to run the prerequisites before running the make commands. Running through the steps in prereq resolved the error for me. Can you confirm that you ran through the prereq?

@sftim @annajung , yes it works after I have run those pre-requisites.Since I have had run this before few days or few commits before it was working with make container image and serve.

I hope it is must as we pull the latest commits from git.If it is so , will it be helpful to highlight a bit we can have that README.md updated?

Thanks all for the support , Please do guide me to close the issue.

There's a close button under the comment field. Kubernetes contributors with the access to do it can also have Prow close the issue:
/close

@sftim: Closing this issue.

In response to this:

There's a close button under the comment field. Kubernetes contributors with the access to do it can also have Prow close the issue:
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings