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

vpnkit is not statically linked

Open
#499 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
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, ocaml

Research direction

Start by reproducing the Docker build shown in the issue and inspect how the /vpnkit binary is built and linked. Use ldd inside the alpine image to verify the result; done means /vpnkit is statically linked and no dynamic loader is reported.

Written by the indexing model from the issue text.

Description

As noticed in https://github.com/docker/docker-ce-packaging/pull/430

Sending build context to Docker daemon  2.048kB
Step 1/3 : FROM docker.io/djs55/vpnkit@sha256:e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e as vpnkit
sha256:e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e: Pulling from djs55/vpnkit
bad55c542dc9: Pull complete 
Digest: sha256:e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e
Status: Downloaded newer image for djs55/vpnkit@sha256:e508a17cfacc8fd39261d5b4e397df2b953690da577e2c987a47630cd0c42f8e
 ---> e49efe6f0050
Step 2/3 : FROM alpine
 ---> e7d92cdc71fe
Step 3/3 : COPY --from=vpnkit  /vpnkit /vpnkit
 ---> 84168be1ef92
Successfully built 84168be1ef92
Successfully tagged test:latest
Dave-MBP:foo djs$ docker run -it test sh
/ # ldd /vpnkit 
	/lib/ld-musl-x86_64.so.1 (0x7fce03122000)
Dominant language
OCaml
Stars
1.2k
Forks
214
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 moby/vpnkit

All issues in moby/vpnkit

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.