Description
Description
I am trying to build docker-cli from source for my freebsd 13.2 host system, because currently my whole docker toolchain over at freebsd is a mess. I am aware that I can compile docker-cli without docker, but didn't yet bother to try it so the following is an attempt at bootstrapping it from Virtual Box with an arch linux VM. On the VM I installed docker, the docker-cli, docker-buildx (AUR). Upon launching docker buildx bake
I get the following log:
build.txt
any further docker buildx bake
results in just the error: http: invalid Host header
being printed. Restarting the system clears the whole cache (which docker buildx prune
apparently doesn't do) and the build command again returns the full log like the one attached.
PS. How should I link the binary so that it works with bsd's own libc implementation?
Reproduce
docker buildx bake
Expected behavior
No response
docker version
Client:
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfcd85
Built: Mon May 29 15:50:06 2023
OS/Arch: linux/amd64
Context: default
Server:
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f9ee
Built: Mon May 29 15:50:06 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.2
GitCommit: 0cae528dd6cb557f7201036e9f43420650207b58.m
runc:
Version: 1.1.7
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Client:
Version: 24.0.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: 0.11.0
Path: /usr/lib/docker/cli-plugins/docker-buildx
Server:
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: true
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 0cae528dd6cb557f7201036e9f43420650207b58.m
runc version:
init version: de40ad0
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.4.3-arch1-1
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 6.13GiB
Name: somehostname
ID: d5fd4a52-a5ba-401b-aaa2-0cf7f8edcf26
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Additional Info
The guest VM is connected to the internet via a bridge adapter