{"id":15141762,"url":"https://github.com/rjhartman/doctorio","last_synced_at":"2026-02-09T08:35:26.513Z","repository":{"id":254782844,"uuid":"847526919","full_name":"rjhartman/doctorio","owner":"rjhartman","description":"Simple distroless image for running a headless Factorio server.","archived":false,"fork":false,"pushed_at":"2024-09-07T02:17:34.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T14:54:58.111Z","etag":null,"topics":["docker-image","factorio"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/rhartman99/doctorio","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rjhartman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T03:14:11.000Z","updated_at":"2024-09-07T02:17:37.000Z","dependencies_parsed_at":"2024-08-26T04:33:45.640Z","dependency_job_id":"7462bfe1-9e7c-4733-9302-5ebdc2bd3391","html_url":"https://github.com/rjhartman/doctorio","commit_stats":null,"previous_names":["rjhartman/doctorio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rjhartman/doctorio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjhartman%2Fdoctorio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjhartman%2Fdoctorio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjhartman%2Fdoctorio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjhartman%2Fdoctorio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjhartman","download_url":"https://codeload.github.com/rjhartman/doctorio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjhartman%2Fdoctorio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29260081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-image","factorio"],"created_at":"2024-09-26T09:01:49.187Z","updated_at":"2026-02-09T08:35:26.413Z","avatar_url":"https://github.com/rjhartman.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doctorio\n\nBasic Docker image for running a [headless Factorio server](https://wiki.factorio.com/Multiplayer#Dedicated/Headless_server).\n\n## Usage\n\nThe image contains the unarchived headless server at `/opt/factorio/`. To run the server, mount the neccessary files and run the `--start-server` command. For example:\n\n```bash\ndocker run -v ~/factorio/saves:/opt/factorio/saves -v ~/factorio/config:/opt/factorio/config -p 34197:34197/udp rhartman99/doctorio:\u003cVERSION\u003e --start-server /opt/factorio/saves/\u003cSAVE_FILE\u003e.zip\n```\n\nThis assumes you have a `~/factorio` directory that looks like this:\n\n```bash\n$ tree\n.\n├── config\n│   └── config.ini\n└── saves\n    ├── _autosave1.zip\n    ├── _autosave2.zip\n    ├── _autosave3.zip\n    ├── _autosave4.zip\n    ├── _autosave5.zip\n    └── main.zip\n\n3 directories, 8 files\n```\n\n### Using systemd\n\nTo host this server, I use the following service file at `/etc/systemd/system/factorio.service`:\n\n```ini\n[Unit]\nDescription=Factorio game server\nAfter=docker.service\nRequires=docker.service\n\n[Service]\nType=simple\nRestart=always\nRestartSec=1\nUser=rhartman\nExecStartPre=-/usr/bin/docker stop %n\nExecStartPre=-/usr/bin/docker rm %n\nExecStart=/usr/bin/docker run --name %n -v /home/rhartman/factorio/saves:/opt/factorio/saves -v /home/rhartman/factorio/config:/opt/factorio/config \\\n                -p 34197:34197/udp rhartman99/doctorio:1.1.109 --start-server /opt/factorio/saves/main.zip \\\n                --use-server-whitelist --server-whitelist /opt/factorio/config/server-whitelist.json\n\n[Install]\nWantedBy=multi-user.target\n```\n\nMake sure to replace `rhartman` with whatever user you are running. Enabling this and starting the service will ensure the server restarts on crash, and starts when the machine is booted:\n\n```\nsudo systemctl enable factorio\nsudo systemctl start factorio\n```\n\n## Building\n\nTo build and tag a new version of the image, run the build target with a valid Factorio version number:\n```\nmake build VERSION=1.1.109 \n```\n\nThis would build and tag `rhartman99/doctorio:1.1.109`.\n\n### Recipes\n\n#### Create a save file\n\n```bash\n# Replace ~/factorio/output with the output directory you would like to create the save in.\n$ docker run -v ~/factorio/output:/opt/save rhartman99/doctorio:1.1.110 --create /opt/save/save.zip\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjhartman%2Fdoctorio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjhartman%2Fdoctorio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjhartman%2Fdoctorio/lists"}