-
Notifications
You must be signed in to change notification settings - Fork 108
Description
Description
When attempting to run the FOSSologyUI development environment on an Apple Silicon Mac (ARM64 architecture), the setup process fails with architecture compatibility errors. This issue affects all developers using Apple Silicon Macs, which represent the growing segment of the developer community
How to reproduce
In the installation commands, the first command is mentioned as
docker-compose -f docker-compose.dev.yml pull fossology_server && docker-compose -f docker-compose.dev.yml up #Starts the react-dev-server on localhost:3000
running that command is giving the following error :

Proposed Solution
The root cause is that the Docker configuration doesn't account for different CPU architectures. Here's a proposed solution:
- Update the
docker-compose.dev.yml
file to use platform emulation for the fossology_server service:
fossology_server: image: fossology/fossology:latest platform: ${DOCKER_PLATFORM:-linux/amd64} ports: - "8081:80" volumes: - repository:/srv/fossology/repository/ - database:/var/lib/postgresql/data
- Create a starter script that automatically detects the architecture and configures Docker appropriately:
- Update documentation to include architecture-specific instructions for both ARM64 and x86_64 systems.
Alternative Approach
if full implementation of the above solution is deemed too complex, even just documenting the workaround for ARM64 users would be valuable :
DOCKER_PLATFORM=linux/amd64 docker-compose -f docker-compose.dev.yml up
Versions
- Last commit id on master: 5ffcf5d
- Operating System (lsb_release -a): macOS(on Apple Silicon / M-series chip)
- Browser : chrome