Skip to main content

Install once. Docker errors auto-translated. Zero config.

Project description

bugtalk

Docker errors, translated instantly. Install once. Zero config. Zero new habits.

$ docker run -p 80:80 nginx
docker: Error response from daemon: Bind for 0.0.0.0:80 failed: port is already allocated.

🔧 [PORT_CONFLICT] Port 80 is already in use by another process
💡 Fix: lsof -ti:80 | xargs kill -9
⚠️  Risk: medium — review before running

Install

pip install bugtalk
bugtalk setup

Restart your shell. Done.


How it works

bugtalk setup adds a thin Python wrapper to the front of your PATH. Every docker run, start, exec, build, and compose up command passes through it invisibly. If the command fails, bugtalk matches the error against a library of known patterns and prints a plain-English fix.

  • Exit codes are always preserved → CI/CD pipelines are unaffected
  • Interactive commands (docker exec -it, docker run -it) are passed through with no capture → TTY sessions work normally
  • The real Docker binary is stored as an absolute path during setup → no infinite recursion, no PATH games
  • Works offline — the pattern library is local
  • Updates weekly in a background thread (non-blocking, never adds latency)

Commands

Command What it does
bugtalk setup Install wrapper, configure PATH
bugtalk unsetup Remove everything, restore original Docker
bugtalk status Show version, pattern count, last update
bugtalk update Pull latest patterns from GitHub now
bugtalk report Open a pre-filled GitHub issue for an unknown error

Supported platforms

Platform Status
macOS (Intel + Apple Silicon) ✅ Supported
Linux (Ubuntu, Debian, Fedora, Arch) ✅ Supported
Windows (WSL2) ✅ Supported
Windows native ❌ Not in V1

Shell support: bash, zsh, fish, and any shell that sources ~/.profile.


Error patterns (v1.0, 25 patterns)

ID Matches
PORT_CONFLICT Port already allocated / address in use
DAEMON_NOT_RUNNING Docker daemon not started
IMAGE_NOT_FOUND Image not pulled locally
VOLUME_PERMISSION Permission denied on mounted volume
NETWORK_CONFLICT Network already exists
CONTAINER_ALREADY_RUNNING Container already started
DISK_SPACE No space left on device
INVALID_TAG Bad image reference format
PULL_RATE_LIMIT Docker Hub rate limit hit
AUTH_REQUIRED Registry login needed
COMPOSE_ORPHAN Orphan containers from old compose project
COMPOSE_VERSION Obsolete version: field in compose file
CONTEXT_NOT_FOUND Unknown docker context
BUILD_NO_DOCKERFILE Dockerfile missing from build context
BUILD_ARG_MISSING --build-arg not passed for declared ARG
PORT_FORMAT_INVALID Malformed -p flag
EXEC_NOT_RUNNING exec on a stopped container
EXEC_CMD_NOT_FOUND Binary not in container PATH
LAYER_CACHE_MOUNT BuildKit not enabled
MANIFEST_PLATFORM No image for this CPU architecture
DNS_RESOLUTION DNS failure inside container
COMPOSE_PORT_CONFLICT Compose service port conflict
HEALTHCHECK_FAIL Container healthcheck failing
SECCOMP_DENIED System call blocked by seccomp
CGROUP_OOM Container OOM-killed

Uninstall

bugtalk unsetup

No original Docker files are ever modified. Uninstall is clean.


License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bugtalk-1.0.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bugtalk-1.0.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file bugtalk-1.0.0.tar.gz.

File metadata

  • Download URL: bugtalk-1.0.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for bugtalk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0a61b4ac4506e7f0a1d569b942476a03a015b2622154c7a16b0185c8c9b0b17c
MD5 d5d3e9ad02f49df4044faa89a8117317
BLAKE2b-256 6ad01471cd347b9cba7a3d1bd86682179871e5db713a43819181fb6cb29dbc3a

See more details on using hashes here.

File details

Details for the file bugtalk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bugtalk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for bugtalk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c10e11e8d6a63f696831fe3765fe4a10bc9c4143bab34ccc9b3a4f6dacc611f
MD5 2deac33d55ab9fe095e4d6f92cffa1d7
BLAKE2b-256 53e31495785f4b76dcb7c1fd98af307d55b71aa68d7b6b2071a0e3d1b84c146c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page