Bug 277680 - [NEW PORT] sysutils/dockerbox: Dockerd host running in Bhyve
Summary: [NEW PORT] sysutils/dockerbox: Dockerd host running in Bhyve
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 02:54 UTC by Chun Cheng Yeh
Modified: 2024-08-06 09:50 UTC (History)
4 users (show)

See Also:


Attachments
The patch of the new port: dockerbox (2.87 KB, patch)
2024-03-14 02:54 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: dockerbox (2.23 KB, patch)
2024-03-18 15:55 UTC, Chun Cheng Yeh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.