Skip to content

Ociidii-Works/docker-icecream

This branch is 4 commits ahead of GTANAdam/docker-icecream:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

653fde8 · Mar 3, 2024

History

19 Commits
Mar 14, 2021
Mar 14, 2021
Nov 2, 2020
Mar 3, 2024

Repository files navigation

docker-icecream

Dockerized images of icecream distributed compiler with their docker-compose files

Usage

The daemon images is based on Clearlinux so as to enjoy performance out of the optimized distribution

docker run --net=host -p ::10245 -p ::8766 -p ::8765 xenhat/icecream

There are 2 flavors of this image, in Clearlinux and in Alpine, the former favors performance and the latter size.

- Clearlinux

docker run --net=host -p ::8765 xenhat/icecream-scheduler:latest

- Alpine

docker run --net=host -p ::8765 xenhat/icecream-scheduler:alpine

Troubleshooting

I finished setting it up and my other machine doesn't use the build nodes

Make sure you have the native daemon running on the machine you're starting the compilation with. It will then connect to the other containers.

Scheduler is not automatically reachable when running a daemon on Windows:

This is a known limitation of Docker on Windows, but this can be workedaround by manually setting the IP Address of the scheduler via environment variables, for example:

Note: Replace 192.168.1.12 with your scheduler's IP address.

docker run --net=host -p ::10245 -p ::8766 -p ::8765 -e USE_SCHEDULER=192.168.1.12 xenhat/icecream

or by appending environment variable to docker-compose.yml:

environment:
  - USE_SCHEDULER=192.168.1.12 # Replace with the scheduler's IP address

I've done the prior workaround but I am still getting failed to accept an incoming connection on [MY IP]:10245

Yeah well, the prior workaround was half of the solution, it is rather better to create a VPN between the scheduler and the daemon then bridge it to the same docker network.

You can check the docker-compose.ovpn.yml examples for both the scheduler and daemon.

Credits: Based on https://github.com/GTANAdam/docker-icecream

About

Dockerized icecream distributed compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published