annotate docker-setup.md @ 11:1d371d93ab4f

commit
author mir3636
date Fri, 16 Feb 2018 16:37:55 +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``