From 2ea4f2fd526c2f826a051b15e1c5ac1f7efba3a8 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Wed, 24 Nov 2021 01:57:41 +0100 Subject: [PATCH] basic docker --- virtualization/docker.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 virtualization/docker.md diff --git a/virtualization/docker.md b/virtualization/docker.md new file mode 100644 index 0000000..b8b307c --- /dev/null +++ b/virtualization/docker.md @@ -0,0 +1,25 @@ + +> sudo pacman -S docker + +> sudo usermod -aG docker $USER + +> sudo systemctl start docker + +You need to either log out and back in again to be in the docker group, or run everything as root. + +> # docker info + +This should show you things are working. + +Search for a distro you want + +> docker search debian + +If you get a hit, pull it. + +> docker pull debian + +Then run a live image: + +> docker run -it debian +