Skip to content

Possible alternative: compose2exe fixes the docker docker bug and adds docker-compose support #21

@alexbjclot

Description

@alexbjclot

Hi! I've been using docker2exe and ran into the known "docker docker" bug (issues #5 and #12)
while trying to run generated binaries on WSL2 and Windows.

Since the bug has been open since 2022 with no fix, I ended up building an alternative called
compose2exe that addresses these issues and adds full docker-compose.yml support.

What's different:

  • Fixes the "docker docker load" bug in shim.go
  • Adds port mapping (-p) to the generated docker run command
  • Supports multiple containers, networks, depends_on, environment variables
  • File-based volumes (e.g. mosquitto.conf) are embedded inside the binary automatically
  • Preflight checks before starting (Docker installed, daemon running, ports available)
  • Works on Windows, Linux and macOS

https://github.com/alexbjclot/compose2exe

Sharing it here in case it's useful to anyone hitting the same issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions