summaryrefslogtreecommitdiffstats
path: root/docs/web
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-08-15 06:18:40 -0400
committerMalfurious <m@lfurio.us>2021-08-15 06:18:40 -0400
commit5c205cf171804bb6ebc7b85c3839ca135e816bba (patch)
tree710c6351af2daa8447a1d8c44f13874b296864e0 /docs/web
parentb9b94713fc64b0b9443c3114c0c79d641db20a67 (diff)
downloadlib-des-gnux-5c205cf171804bb6ebc7b85c3839ca135e816bba.tar.gz
lib-des-gnux-5c205cf171804bb6ebc7b85c3839ca135e816bba.zip
Commit notes from RaRCTF 2021
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'docs/web')
-rw-r--r--docs/web/docker.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/web/docker.txt b/docs/web/docker.txt
new file mode 100644
index 0000000..992b5b3
--- /dev/null
+++ b/docs/web/docker.txt
@@ -0,0 +1,15 @@
+# TODO: This whole doc
+
+docker run -p host:container
+ Run container with port forwarding
+
+docker run --rm -d --network host --name <something> <image-id>
+ --rm Destroy container on exit
+ -d Run detached (don't hijack terminal)
+ --net... Use host's network (don't need port forward)
+
+docker exec -it
+ Get a shell in container
+
+
+I'm told docker-compose is just much simpler, try to use if possible.