Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`use of internal package not allowed` when trying to build linkerd-tcp example

Open
#273 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, docker-compose, go, redis

Research direction

Start in the linkerd-tcp example by running docker compose build and reproducing the web0 builder failure. Trace the go get -d -v github.com/go-redis/redis step and determine which example build configuration or dependency causes the internal-package error. Done means the example builds successfully.

Written by the indexing model from the issue text.

Description

Trying to run docker compose build within the linkerd-tcp example results in:

=> ERROR [web0 builder 3/5] RUN go get -d -v github.com/go-redis/redis                                                                                                                                  6.1s
 => [web3 internal] load build context                                                                                                                                                                   0.2s
 => => transferring context: 28B                                                                                                                                                                         0.0s
 => [web8 internal] load build context                                                                                                                                                                   0.2s
 => => transferring context: 28B                                                                                                                                                                         0.0s
 => [web9 internal] load build context                                                                                                                                                                   0.2s
 => => transferring context: 28B                                                                                                                                                                         0.0s
 => [web2 internal] load build context                                                                                                                                                                   0.2s
 => => transferring context: 28B                                                                                                                                                                         0.0s
 => [web1 internal] load build context                                                                                                                                                                   0.2s
 => => transferring context: 28B                                                                                                                                                                         0.0s
 => [web7 internal] load build context                                                                                                                                                                   0.1s
 => => transferring context: 28B                                                                                                                                                                         0.0s
------
 > [web0 builder 3/5] RUN go get -d -v github.com/go-redis/redis:
0.349 github.com/go-redis/redis (download)
2.652 github.com/cespare/xxhash (download)
3.535 github.com/dgryski/go-rendezvous (download)
4.199 github.com/redis/go-redis (download)
6.044 ../../../go-redis/redis/cluster.go:17:2: use of internal package not allowed
6.044 ../../../go-redis/redis/cluster.go:18:2: use of internal package not allowed
6.044 ../../../go-redis/redis/command.go:12:2: use of internal package not allowed
6.044 ../../../go-redis/redis/cluster.go:19:2: use of internal package not allowed
6.044 ../../../go-redis/redis/cluster.go:20:2: use of internal package not allowed
6.044 ../../../go-redis/redis/cluster.go:21:2: use of internal package not allowed
6.044 ../../../go-redis/redis/command.go:14:2: use of internal package not allowed
------
failed to solve: process "/bin/sh -c go get -d -v github.com/go-redis/redis" did not complete successfully: exit code: 1
Dominant language
Go
Stars
444
Forks
215
PR merge metrics
No merged PRs in 30d

Getting set up

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 linkerd/linkerd-examples

All issues in linkerd/linkerd-examples

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.