From f5673a402720fea58337d9dd1090b2625ae5f073 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 22 Feb 2024 02:56:44 -0500 Subject: Update docker guide The docker reference guide now better explains various common situations. The file is moved to docs/nix since docker is not strictly a web technology. This location makes more sense. Signed-off-by: Malfurious --- docs/web/docker.txt | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 docs/web/docker.txt (limited to 'docs/web/docker.txt') diff --git a/docs/web/docker.txt b/docs/web/docker.txt deleted file mode 100644 index 992b5b3..0000000 --- a/docs/web/docker.txt +++ /dev/null @@ -1,15 +0,0 @@ -# TODO: This whole doc - -docker run -p host:container - Run container with port forwarding - -docker run --rm -d --network host --name - --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. -- cgit v1.2.3