Docker

Install Docker

From here

  1. Install and test

    sudo apt remove docker docker.io containerd runc
    sudo apt remove …

Common Docker Commands

General Commands

docker images
docker pull
docker create
docker ps
docker attach 3378689f2069 …

Add a User in a Docker Container with a custom password

password="1YelloDog@"
pass=$(perl -e 'print crypt($ARGV[0], "password")' …

Answer on Docker

replace <password1> with your own password

Nextcloud in Docker

docker-compose

version: '2'

volumes:
  nextcloud:
  db:

services:
  db:
    image: …

NginX docker config

docker compose:

version: "3.9"
services:
  test:
    image: nginx:latest
    ports:
      - …

PiHole Setup

docker compose

version: "3"

# More info at https://github.com/pi-hole/docker-pi-hole/ and …