README: Local development commands don't work

Open Beginner friendly
#554 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
docker, next.js
Domain
documentation

Research direction

Start with README.md and run the documented Docker build and run commands to reproduce the next: not found error. Check the local-development setup referenced by those commands, then update the instructions so they work from a fresh checkout and verify that the development server starts on port 3000.

Written by the indexing model from the issue text.

Description

bug

The README.md file features instructions for local development:

docker build -t ghcr.io/unikraft/docs:dev --target dev .

docker run -it --rm -v $(pwd):/docs -w /docs -p 3000:3000 ghcr.io/unikraft/docs:dev

However, when running these commands there is an error:

> @unikraft/docs@2.0.0 dev                                                                                                                                                                                                                                    
> next

sh: next: not found
Dominant language
MDX
Stars
42
Forks
125
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from unikraft/docs

All issues in unikraft/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.