Bug 277680

Summary: [NEW PORT] sysutils/dockerbox: Dockerd host running in Bhyve
Product: Ports & Packages Reporter: Chun Cheng Yeh <leafoliages>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: New ---    
Severity: Affects Only Me CC: 000.fbsd, freebsdbugs, lme, lwhsu
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
The patch of the new port: dockerbox
none
Revised patch for new port: dockerbox none

Description Chun Cheng Yeh 2024-03-14 02:54:39 UTC
Created attachment 249142 [details]
The patch of the new port: dockerbox

This port provides a linux VM running in bhyve that provides dockerd so that users can connect to the dockerd inside it through tcp port and use docker on FreeBSD.
Comment 1 Miroslav Lachman 2024-03-15 19:45:45 UTC
If I understand it right the resulting package will contain 1.3GB image of Linux VM. I don't think this is the right way to do it.
What about including checksum / signature of the VM file, adding "fetch" extra command to rc.d/dockerbox and let the VM image be downloaded by "service dockerbox fetch"?
Comment 2 Chun Cheng Yeh 2024-03-18 14:23:14 UTC
Sure. I will add the revised patch as attachment. However in this case, should the pkg-plist include the VM image?
Comment 3 Chun Cheng Yeh 2024-03-18 15:55:41 UTC
Created attachment 249269 [details]
Revised patch for new port: dockerbox

I've figured out the pkg-plist part. This is the revised patch file.
Comment 4 Lars Engels freebsd_committer freebsd_triage 2024-07-15 12:10:17 UTC
Having stumbled upon this in vermaden's "Valuable News" I wonder what's the current status of this PR?
Comment 5 Chun Cheng Yeh 2024-08-06 09:50:58 UTC
It is still waiting for approval. I was focusing on something else since I last submitted the patch and I forgot it's still here. I should get back to this pretty soon.