Repository navigation
feat: add Docker Compose support for Linux - #275
Open
matheusAFONSECA wants to merge 1 commit into
Open
matheusAFONSECA wants to merge 1 commit into
matheusAFONSECA wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Docker Compose support for running AnyLabeling locally on Linux without installing Python, PyQt6, or inference dependencies on the host.
After configuring
.envand the dataset directory once, users can launch the desktop application with:Changes
/dataand persist application settings, model storage, and caches in a named volume..dockerignore,.env_example, a README reference, and documentation covering setup, image folders, annotation persistence, and troubleshooting.Changes are limited to container configuration and documentation.
Contribution to development
This provides a consistent local environment for contributors and reduces setup problems caused by differences in host Python and Qt installations.
Contributors can build and test their checkout through the same Compose workflow. CPU defaults make the environment usable without NVIDIA hardware, while dataset mounts keep images and annotation outputs directly accessible to host tools.
Persistent application state also allows containers to be recreated without losing settings or model storage.
Validation
Validation performed during implementation:
Limitations
The setup targets local Linux desktops using X11 or XWayland. Native Wayland-only sessions and rootless Docker/user namespace remapping are outside the documented configuration.
Related to #209.