edit virtualization setup

This commit is contained in:
2026-04-27 12:34:26 +02:00
parent c2f72aed84
commit cc811fc025
2 changed files with 11 additions and 12 deletions

View File

@@ -1,21 +1,19 @@
--- ---
title: Docker title: Setup Docker
tags: tags:
- documentation - documentation
- virtualization - setup
- containers
requires: requires:
- system/groups.md - system/groups.md
--- ---
Install docker, add your user to the docker group, and start the service.
```sh ```sh
sudo pacman -S docker sudo pacman -S docker
```
```sh
sudo usermod -aG docker $USER sudo usermod -aG docker $USER
``` sudo su $USER
```sh
sudo systemctl start docker sudo systemctl start docker
``` ```
@@ -69,9 +67,9 @@ docker rm 97796727e883
# Networking # Networking
Get a list of docker container ips Get a list of docker container IPs
```sh ```sh
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' *container_name_or_id* docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${name}
``` ```

View File

@@ -1,11 +1,12 @@
--- ---
title: virtualbox title: Setup Virtualbox
tags: tags:
- system - system
- setup
- virtualization
requires: requires:
- system/groups.md - system/groups.md
--- ---
# Setup
Load the modules (or just reboot): Load the modules (or just reboot):