#author(“2018-12-17T10:47:43+00:00”,“game”,“game”)
[ホーム]
#
Dockerをいれる
https://docs.docker.com/docker-for-mac/install/#what-to-know-before-you-install
#
xv6を落としてくる
1
2
|
$ hg clone http://www.cr.ie.u-ryukyu.ac.jp/hg/Members/anatofuz/xv6-rpi-docker
$ hg clone ssh://hg@bitbucket.org/anatofuz/xv6-rpi-docker
|
#
build
1
|
$ docker build . --tag xv6-rpi
|
#
Docker Imageで持ってくる
https://hub.docker.com/r/crryukyu/xv6-rpi-docker
1
|
$ docker pull crryukyu/xv6-rpi-docker
|
#
run debug mode
1
|
$ docker run --privileged -it --name xv6 xv6-rpi ./run-debug.sh
|
#
run gdb(up another process)
1
|
$ docker exec -it xv6 ./debug.sh
|