Skip to content

Commit

Permalink
Add note about nerd ctl build --progress
Browse files Browse the repository at this point in the history
  • Loading branch information
slonopotamus committed Jul 11, 2024
1 parent 672229a commit e7796fe
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,16 @@ After installation (and reboot), you should be able to run containers using nerd
nerdctl run --rm -it hello-world
----

You can use `nerdctl build` to build containers.
// TODO: is there any way to fix this? dockerd has --group, but does containerd/buildkitd have it?

Additionally, `ctr` and `buildctl` are available on `%PATH%`.
NOTE: If you're getting `open \\\\.\\pipe\\containerd-containerd: Access is denied."` error, you need to run commands with elevated permissions.

// TODO: is there any way to fix this? dockerd has --group, but does containerd/buildkitd have it?
You can use `nerdctl build` to build containers.

NOTE: There's an https://github.com/containerd/containerd/issues/10154[issue] with `nerdctl build`.
If you get `error: code = Unknown desc = write /dev/stdout: The pipe is being closed.`, add `--progress=plain` option.

IMPORTANT: If you're getting `open \\\\.\\pipe\\containerd-containerd: Access is denied."` error, you need to run commands with elevated permissions.
Additionally, `ctr` and `buildctl` are available on `%PATH%`.

== Building from source

Expand Down

0 comments on commit e7796fe

Please sign in to comment.