/notebook/docker

Posts in docker

Install Docker

by Dan Aukes

From here

  1. Install and test

    ```bash sudo apt remove ...

Read More
Using Python in a Docker Container

by Dan Aukes

Introduction

This tutorial makes it possible to spin up a container with everything you need ...

Read More
Setting up a Mosquitto MQTT server in docker.

by Dan Aukes

Docker compose

```yaml version: "3"

services: mosquitto: image: eclipse-mosquitto container_name: ...

Read More
Nextcloud in Docker

by Dan Aukes

docker-compose

```yaml version: '2'

volumes: nextcloud: db:

services: db: image: mariadb:10.5 ...

Read More
NginX docker config

by Dan Aukes

docker compose:

```yaml version: "3.9" services: test: image: nginx:latest ports: ...

Read More
PiHole Setup

by Dan Aukes

docker compose

```yaml version: "3"

More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/

services: pihole: ...

Read More
Start docker automatically as a ```systemd``` service

by Dan Aukes

Docker Compose Example

copy and paste the folowing text into a new file called ~/script.sh

```bash

!/bin/bash

SERVICENAME=$(basename ...

Read More
Using tailscale with docker

by Dan Aukes

  1. Settings-->keys
  2. check reusable, ephemeral, pre-approved
  3. Copy the key
  4. paste the following in your bashrc

...

Read More