changeset 2:11870733f490

Add docker-setup.md
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Sat, 27 May 2017 16:42:44 +0900
parents cc14476ac479
children e4f49859477e
files docker-setup.md
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docker-setup.md	Sat May 27 16:42:44 2017 +0900
@@ -0,0 +1,9 @@
+# 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``