annotate docker-setup.md @ 153:49d8aba0002a

switch use sys_pipe_read.cbc
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Wed, 18 Dec 2019 15:55:22 +0900
parents 11870733f490
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 # xv6-rpi on Docker
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 ## build
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 - ``$ docker build . --tag xv6-rpi``
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 ## run debug mode
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 - ``$ docker run --privileged -it --name xv6 xv6-rpi ./run-debug.sh``
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 ## run gdb(up another process)
11870733f490 Add docker-setup.md
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 - ``$ docker exec -it xv6 ./debug.sh``