Bug 277680 - [NEW PORT] sysutils/dockerbox: Dockerd host running in Bhyve
Summary: [NEW PORT] sysutils/dockerbox: Dockerd host running in Bhyve
Status: Closed FIXED
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: 2026-06-18 20:03 UTC (History)
6 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
Revised patch for new port: dockerbox (2.28 KB, patch)
2026-04-25 08:31 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: sysutils/dockerbox (2.66 KB, patch)
2026-05-03 09:08 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: sysutils/dockerbox (2.66 KB, patch)
2026-05-10 07:11 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: sysutils/dockerbox (3.35 KB, patch)
2026-05-16 15:24 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: sysutils/dockerbox (2.66 KB, patch)
2026-05-22 09:27 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: sysutils/dockerbox (2.66 KB, patch)
2026-05-29 04:27 UTC, Chun Cheng Yeh
no flags Details | Diff
Revised patch for new port: sysutils/dockerbox (2.66 KB, patch)
2026-05-29 04:28 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.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2025-12-09 06:00:40 UTC
^Triage: with bugmeister@ hat, reset assignee due to no action in > 1 year.
Comment 7 Chun Cheng Yeh 2026-04-25 08:31:06 UTC
Created attachment 270097 [details]
Revised patch for new port: dockerbox

Revised diff file for new port: dockerbox
Comment 8 Li-Wen Hsu freebsd_committer freebsd_triage 2026-04-25 13:12:47 UTC
I was working with the submitter to have an improved version.
Comment 9 Chun Cheng Yeh 2026-05-03 09:08:58 UTC
Created attachment 270369 [details]
Revised patch for new port: sysutils/dockerbox

Updated a new version of dockerbox (v0.2.1)
Comment 10 Chun Cheng Yeh 2026-05-07 07:28:49 UTC
- https://github.com/freebsd/freebsd-ports/pull/513
- https://github.com/freebsd/freebsd-ports/pull/514

I have created PRs to update docker port and docker-compose port to the latest version. It is recommended to use these version with dockerbox.
Comment 11 Chun Cheng Yeh 2026-05-10 07:11:44 UTC
Created attachment 270559 [details]
Revised patch for new port: sysutils/dockerbox

Updated a new version of dockerbox (v0.2.2)
Comment 12 Chun Cheng Yeh 2026-05-16 15:24:16 UTC
Created attachment 270787 [details]
Revised patch for new port: sysutils/dockerbox
Comment 13 Chun Cheng Yeh 2026-05-22 09:27:48 UTC
Created attachment 271015 [details]
Revised patch for new port: sysutils/dockerbox
Comment 14 Chun Cheng Yeh 2026-05-29 04:27:33 UTC
Created attachment 271304 [details]
Revised patch for new port: sysutils/dockerbox

Updated a new version of dockerbox (v0.2.4)
Comment 15 Chun Cheng Yeh 2026-05-29 04:28:36 UTC
Created attachment 271305 [details]
Revised patch for new port: sysutils/dockerbox

Updated a new version of dockerbox (v0.2.4)
Comment 16 commit-hook freebsd_committer freebsd_triage 2026-06-18 20:01:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d4fee9ed393e559e0ed8f17c9514548c8af9f998

commit d4fee9ed393e559e0ed8f17c9514548c8af9f998
Author:     Chun Cheng Yeh <leafoliage@FreeBSD.org>
AuthorDate: 2026-06-18 00:39:42 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2026-06-18 19:42:56 +0000

    Add sysutils/dockerbox: Virtualized Docker daemon

    PR:             277680
    Sponsored by:   The FreeBSD Foundation

 sysutils/Makefile                  |  1 +
 sysutils/dockerbox/Makefile (new)  | 30 ++++++++++++++++++++++++++++++
 sysutils/dockerbox/distinfo (new)  |  3 +++
 sysutils/dockerbox/pkg-descr (new) |  3 +++
 sysutils/dockerbox/pkg-plist (new) |  3 +++
 5 files changed, 40 insertions(+)