view docker-setup.md @ 383:3f243b59bcee

move global variable in console.cbc to kernel_context
author anatofuz
date Mon, 20 Jul 2020 16:42:45 +0900
parents 11870733f490
children
line wrap: on
line source

# xv6-rpi on Docker
## build
- ``$ docker build . --tag xv6-rpi``

## run debug mode
- ``$ docker run --privileged -it --name xv6 xv6-rpi ./run-debug.sh``

## run gdb(up another process)
- ``$ docker exec -it xv6 ./debug.sh``