Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

zocker-160/sheepit-docker-cpu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple dockerized SheepIt render farm client

This is a fork of @AGSPhoenix docker image.

After being appalled by @dapor2000's monstrous 1.2 GB SheepIt client image, I took it upon myself to build a somewhat more lightweight client, and after a few hours, came up with this Debian-based image that is a fifth the size, acts as a drop-in replacement, and auto-updates the client on container startup.

There's probably a little more room for fat trimming, since this was adapted from an old Ubuntu VM setup script, but I'm satisfied with where things are currently.

Instructions

Pretty similar to @dapor2000's, just swap out your username and password.

docker run -it \
 --name "Sheepit-Renderclient" \
 -e user_name=<username> \
 -e user_password=<public_key> \
 zocker160/sheepit-slim:latest <additional_sheepit_arguments>

in order to update the sheepit client itself, you only need to restart the container, it will download the latest version on startup

Usage

  • -e user_name / -e user_password specify usename and password of your sheepit account
  • -e cpu=4 (optional) number of CPU cores being used for rendering - if not set: autodetection
  • -d (optional) run docker image in background; use docker attach <container_name> to get into the running container
  • -h (optional) set hostname
  • -e ui <text/oneLine> (optional) change the CLI mode; default: text

important: you can also pass any additional argument directly to the sheepit-client by replacing <additional_sheepit_arguments> (e.g. -memory 5G)

hint: if you are using a DockerGUI like Portainer, you put those arguments into the CMD or Command field

Get into the server terminal

docker attach <Container_name>

press Ctrl + c in order to exit after finishing the current frame

press Ctrl + p and then Ctrl + q in order to detach from the terminal

Extra bits

Docker Hub page
GitHub page

SheepIt client GitHub repo
SheepIt site

About

A lightweight docker container for the SheepIt! render farm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 50.8%
  • Shell 49.2%