{"id":18085048,"url":"https://github.com/jwodder/nethack-docker","last_synced_at":"2025-10-27T22:39:43.160Z","repository":{"id":66104062,"uuid":"47942009","full_name":"jwodder/nethack-docker","owner":"jwodder","description":"NetHack Docker image","archived":false,"fork":false,"pushed_at":"2024-07-13T23:07:07.000Z","size":30,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T13:05:32.571Z","etag":null,"topics":["docker","docker-image","game","nethack"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-12-13T23:59:06.000Z","updated_at":"2024-12-26T21:03:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"14c39417-c167-433a-84a1-89df3163257a","html_url":"https://github.com/jwodder/nethack-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jwodder/nethack-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnethack-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnethack-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnethack-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnethack-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/nethack-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnethack-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267780023,"owners_count":24143201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","docker-image","game","nethack"],"created_at":"2024-10-31T15:09:11.487Z","updated_at":"2025-10-27T22:39:43.091Z","avatar_url":"https://github.com/jwodder.png","language":"Dockerfile","readme":"[GitHub](https://github.com/jwodder/nethack-docker) | [Docker Hub](https://hub.docker.com/repository/docker/jwodder/nethack)\n\n[NetHack](http://www.nethack.org) is a [roguelike](https://en.wikipedia.org/wiki/Roguelike) computer game in which a brave young `@` goes forth to acquire the Amulet of Yendor and dies horribly every(?) single time.  It also has [a wiki](https://nethackwiki.com).\n\nThis repository contains Docker images for the latest versions of the game, built with the basic out-of-the-box configurations (so tty graphics only, no autopickup exceptions in 3.4.3, and no status hilites in 3.6.0), with the following exceptions:\n\n- Mutable game data (high scores, save files, etc.) is stored in the `/data` volume separately from the static data so that the former can be preserved across containers.\n\n- `root` (the user the image runs as) can enter debug/wizard mode without having to switch to a different \\*nix account.\n\n- Support for the new sysconf mechanism in 3.6 is only enabled in the `3.6.*-sysconf` images.  This feature allows certain game parameters to be configured via the `/data/sysconf` file.  See `sys/unix/sysconf` in the NetHack 3.6.\\* source distribution for more information.\n\nTags and Dockerfiles\n--------------------\n* [`3.6.7`, `3.6`, `latest`](https://github.com/jwodder/nethack-docker/blob/master/3.6.7/Dockerfile)\n* [`3.6.7-sysconf`, `3.6-sysconf`, `sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.7-sysconf/Dockerfile)\n* [`3.6.6`](https://github.com/jwodder/nethack-docker/blob/master/3.6.6/Dockerfile)\n* [`3.6.6-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.6-sysconf/Dockerfile)\n* [`3.6.5`](https://github.com/jwodder/nethack-docker/blob/master/3.6.5/Dockerfile)\n* [`3.6.5-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.5-sysconf/Dockerfile)\n* [`3.6.4`](https://github.com/jwodder/nethack-docker/blob/master/3.6.4/Dockerfile)\n* [`3.6.4-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.4-sysconf/Dockerfile)\n* [`3.6.3`](https://github.com/jwodder/nethack-docker/blob/master/3.6.3/Dockerfile)\n* [`3.6.3-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.3-sysconf/Dockerfile)\n* [`3.6.2`](https://github.com/jwodder/nethack-docker/blob/master/3.6.2/Dockerfile)\n* [`3.6.2-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.2-sysconf/Dockerfile)\n* [`3.6.1`](https://github.com/jwodder/nethack-docker/blob/master/3.6.1/Dockerfile)\n* [`3.6.1-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.1-sysconf/Dockerfile)\n* [`3.6.0`](https://github.com/jwodder/nethack-docker/blob/master/3.6.0/Dockerfile)\n* [`3.6.0-sysconf`](https://github.com/jwodder/nethack-docker/blob/master/3.6.0-sysconf/Dockerfile)\n* [`3.4.3`, `3.4`](https://github.com/jwodder/nethack-docker/blob/master/3.4.3/Dockerfile)\n\nSetting Options\n---------------\nYou can set NetHack options by specifying them directly in the environment variable `NETHACKOPTIONS`:\n\n    docker run -it -e NETHACKOPTIONS=\"name:Rodney,disclose:+i +a +v +g +c +o\" jwodder/nethack:3.6\n\nor put the options in a `.nethackrc` file in your `/data` volume and set `NETHACKOPTIONS` to `\"@\u003cPATH TO FILE\u003e\"`:\n\n    echo 'OPTIONS=name:Rodney,disclose:+i +a +v +g +c +o' \u003e /path/to/my/nethack/data/.nethackrc\n\n    docker run -it -v /path/to/my/nethack/data:/data -e NETHACKOPTIONS=\"@/data/.nethackrc\" jwodder/nethack:3.6\n\nor add the `.nethackrc` directly to root's home directory in a derived image and run that:\n\n    # Dockerfile:\n    FROM jwodder/nethack:3.6\n    RUN echo 'OPTIONS=name:Rodney,disclose:+i +a +v +g +c +o' \u003e /root/.nethackrc\n\n    # Command line:\n    docker build -t my_derived_nethack .\n    docker run -it my_derived_nethack\n\nIf using a `3.6.*-sysconf` image, the default option values can be set by placing them in `/data/sysconf`:\n\n    echo 'OPTIONS=name:Rodney,disclose:+i +a +v +g +c +o' \u003e\u003e /path/to/my/nethack/data/sysconf\n\n    docker run -it -v /path/to/my/nethack/data:/data jwodder/nethack:3.6-sysconf\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fnethack-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Fnethack-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fnethack-docker/lists"}