{"id":18547747,"url":"https://github.com/johnramsden/os161-docker","last_synced_at":"2025-05-15T07:34:27.937Z","repository":{"id":102820805,"uuid":"207007170","full_name":"johnramsden/os161-docker","owner":"johnramsden","description":"Run os161 in a container","archived":false,"fork":false,"pushed_at":"2019-09-09T05:51:28.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-14T15:06:43.525Z","etag":null,"topics":["os161","ubc-engineering","unix"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/johnramsden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-09-07T18:06:15.000Z","updated_at":"2022-01-03T15:32:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f077ba80-3937-4d95-a5f0-1867a26d65dc","html_url":"https://github.com/johnramsden/os161-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fos161-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fos161-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fos161-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnramsden%2Fos161-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnramsden","download_url":"https://codeload.github.com/johnramsden/os161-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254296547,"owners_count":22047289,"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","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":["os161","ubc-engineering","unix"],"created_at":"2024-11-06T20:31:04.802Z","updated_at":"2025-05-15T07:34:27.915Z","avatar_url":"https://github.com/johnramsden.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS161 in Docker\n\n[![Build Status](https://travis-ci.com/johnramsden/os161-docker.svg?branch=master)](https://travis-ci.com/johnramsden/os161-docker)\n\n## Pull from Docker Hub\n\nDocker Hub images are built from the code in this repository. Alternatively [build an image from source](#Build).\n\n```shell\ndocker pull johnramsden/os161\n```\n\n## Build\n\nIf you would prefer to build your own image instead of using a pre-built one, clone this repository and build from source.\n\n```shell\ndocker build . -t os161\n```\n\n## Usage\n\nPlace code to mount into container on local filesystem, `~/os161` used in below example.\n\nRun container, mounting a directory into the container:\n\n```shell\ndocker run --interactive --tty \\\n    --volume=\"${HOME}/os161:/home/os161/os161\" johnramsden/os161\n```\n\nNow after compiling a kernel, it can be started.\n\n```shell\nsys161 kernel\n```\n\n## Multiple Terminals\n\nTo open up multiple terminals use `tmux` inside the container.\n\nor `docker exec` into an already running container.\n\n```shell\ndocker exec --interactive --tty \u003cid\u003e /bin/bash\n```\n\n---\n\nReferences:\n\n* https://sites.google.com/site/os161ubc/os161-installation\n* http://www.ece.ubc.ca/~os161/download/cs161-ubuntu.sh\n\nLicenced MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnramsden%2Fos161-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnramsden%2Fos161-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnramsden%2Fos161-docker/lists"}