Sign inSign up

clemens321/pxe

By clemens321

•Updated about 7 years ago

Image
0

749

clemens321/pxe repository overview

⁠PXE-Container

It*s a simple docker image to deliver dhcp boot options on dhcp requests. The image only presents the options 66/67 boot server and boot filename. Anything else needs to be provided by something else.

⁠Configuration

The image can be configured using environment variables:

EnvironmentDescriptionDefault/Required
PXE_INTERFACEName of the eth interfacerequired (*)
PXE_ADDRESSIP address to listen atIP of $PXE_INTERFACE
TFTP_ADDRESSare neat$PXE_ADDRESS

Either PXE_INTERFACE or PXE_ADDRESS is required for the container to work, while PXE_INTERFACE is recommended. If neither information is given or a named interface is not available the container will exit immediately.

⁠docker-compose

Example docker-compose.yml-service:

services:
  pxe:
    image: clemens321/pxe:latest
    network_mode: host
    environment:
      - "PXE_INTERFACE=${PXE_INTERFACE:-}"

To allow working dhcp request handling the network_mode must be set to host. The PXE_INTERFACE can be defined in a local .env-file

PXE_INTERFACE=eth0

Tag summary

Content type

Image

Digest

Size

2.8 MB

Last updated

about 7 years ago

docker pull clemens321/pxe