Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnramsden/os161-docker
Run os161 in a container
https://github.com/johnramsden/os161-docker
os161 ubc-engineering unix
Last synced: 11 days ago
JSON representation
Run os161 in a container
- Host: GitHub
- URL: https://github.com/johnramsden/os161-docker
- Owner: johnramsden
- License: mit
- Created: 2019-09-07T18:06:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-09T05:51:28.000Z (over 5 years ago)
- Last Synced: 2024-12-25T08:10:17.971Z (12 days ago)
- Topics: os161, ubc-engineering, unix
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# OS161 in Docker
[![Build Status](https://travis-ci.com/johnramsden/os161-docker.svg?branch=master)](https://travis-ci.com/johnramsden/os161-docker)
## Pull from Docker Hub
Docker Hub images are built from the code in this repository. Alternatively [build an image from source](#Build).
```shell
docker pull johnramsden/os161
```## Build
If you would prefer to build your own image instead of using a pre-built one, clone this repository and build from source.
```shell
docker build . -t os161
```## Usage
Place code to mount into container on local filesystem, `~/os161` used in below example.
Run container, mounting a directory into the container:
```shell
docker run --interactive --tty \
--volume="${HOME}/os161:/home/os161/os161" johnramsden/os161
```Now after compiling a kernel, it can be started.
```shell
sys161 kernel
```## Multiple Terminals
To open up multiple terminals use `tmux` inside the container.
or `docker exec` into an already running container.
```shell
docker exec --interactive --tty /bin/bash
```---
References:
* https://sites.google.com/site/os161ubc/os161-installation
* http://www.ece.ubc.ca/~os161/download/cs161-ubuntu.shLicenced MIT