balena-io-experimental / balena-tiny-hostname

Set the hostname on Balena devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

balena-tiny-hostname

Set the hostname on Balena devices. This is a fork of the official Balena package (https://github.com/balenablocks/hostname) but refactored to be smaller.

Size: 2.62mb

Usage

To use this image, create a container in your docker-compose.yml file and set the SET_HOSTNAME environment variable as shown below:

version: "2"

services:
  hostname:
    image: ghcr.io/maggie0002/balena-tiny-hostname
    restart: no # Required to avoid container restarting indefinitely
    labels:
      io.balena.features.supervisor-api: 1 # Required to interact with the supervisor
    environment:
      SET_HOSTNAME: balena-test-hostname

About

Set the hostname on Balena devices

License:MIT License


Languages

Language:Shell 84.2%Language:Dockerfile 15.8%