mirror of
https://github.com/games-on-whales/LXC2Docker.git
synced 2026-10-15 21:02:07 +00:00
[PR #1] [MERGED] Docker API to LXC translation daemon #5
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/LXC2Docker#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/LXC2Docker/pull/1
Author: @JBailes
Created: 4/12/2026
Status: ✅ Merged
Merged: 4/14/2026
Merged by: @JBailes
Base:
main← Head:docker-lxc-daemon📝 Commits (1)
d81c579docker-lxc-daemon: Docker API to LXC translation daemon📊 Changes
21 files changed (+3714 additions, -0 deletions)
View changed files
➕
.gitignore(+1 -0)➕
Makefile(+39 -0)➕
cmd/docker-lxc-daemon/main.go(+74 -0)➕
go.mod(+10 -0)➕
go.sum(+8 -0)➕
internal/api/containers.go(+767 -0)➕
internal/api/exec.go(+292 -0)➕
internal/api/images.go(+102 -0)➕
internal/api/router.go(+81 -0)➕
internal/api/system.go(+104 -0)➕
internal/api/types.go(+246 -0)➕
internal/image/distro.go(+205 -0)➕
internal/image/registry.go(+116 -0)➕
internal/image/resolver.go(+146 -0)➕
internal/lxc/config.go(+251 -0)➕
internal/lxc/manager.go(+542 -0)➕
internal/lxc/network.go(+144 -0)➕
internal/lxc/syscall.go(+20 -0)➕
internal/oci/pull.go(+214 -0)➕
internal/store/store.go(+314 -0)...and 1 more files
📄 Description
Summary
dockerCLI to manage LXC containers transparently —docker run,docker exec,docker ps,docker cp, port forwarding with-p, etc.Architecture
gow0bridge (10.100.0.0/24) with nftables NAT + DNAT port forwardingSupported commands
docker run -d [-p host:container]docker ps/docker inspectdocker exec [-it]docker logs [-f]docker stop/start/restart/killdocker rm [-f]docker cp(both directions)docker top/renamedocker pull(distro + app + OCI images)docker images/rmidocker version/infoBuild & install
Test plan
_ping,version,info)Extracted from games-on-whales/gow#308
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.