Skip to content

balena-io-experimental/balena-tiny-hostname

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published