You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 5, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,14 @@ The architectures supported by this image are:
54
54
| arm64 | arm64v8-latest |
55
55
| armhf | arm32v7-latest |
56
56
57
+
## Version Tags
58
+
59
+
This image provides various versions that are available via tags. `latest` tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
60
+
61
+
| Tag | Description |
62
+
| :----: | --- |
63
+
| latest | Web application for full self hosting |
64
+
| tftp | TFTP server only with NETBOOT.XYZ boot files |
57
65
58
66
## Usage
59
67
@@ -64,7 +72,14 @@ Here are some example snippets to help you get started creating a container.
64
72
```
65
73
docker create \
66
74
--name=netbootxyz \
75
+
-e PUID=1000 \
76
+
-e PGID=1000 \
77
+
-e MENU_VERSION=1.9.9 `#optional` \
78
+
-p 3000:3000 \
67
79
-p 69:69/udp \
80
+
-p 8080:80 `#optional` \
81
+
-v /path/to/config:/config \
82
+
-v /path/to/assets:/assets `#optional` \
68
83
--restart unless-stopped \
69
84
linuxserver/netbootxyz
70
85
```
@@ -81,8 +96,17 @@ services:
81
96
netbootxyz:
82
97
image: linuxserver/netbootxyz
83
98
container_name: netbootxyz
99
+
environment:
100
+
- PUID=1000
101
+
- PGID=1000
102
+
- MENU_VERSION=1.9.9 #optional
103
+
volumes:
104
+
- /path/to/config:/config
105
+
- /path/to/assets:/assets #optional
84
106
ports:
107
+
- 3000:3000
85
108
- 69:69/udp
109
+
- 8080:80 #optional
86
110
restart: unless-stopped
87
111
```
88
112
@@ -92,7 +116,14 @@ Container images are configured using parameters passed at runtime (such as thos
92
116
93
117
| Parameter | Function |
94
118
| :----: | --- |
119
+
|`-p 3000`| Web configuration interface. |
95
120
|`-p 69/udp`| TFTP Port. |
121
+
|`-p 80`| NGINX server for hosting assets. |
122
+
|`-e PUID=1000`| for UserID - see below for explanation |
123
+
|`-e PGID=1000`| for GroupID - see below for explanation |
124
+
|`-e MENU_VERSION=1.9.9`| Specify a specific version of boot files you want to use from NETBOOT.XYZ (unset pulls latest) |
125
+
|`-v /config`| Storage for boot menu files and web application config |
126
+
|`-v /assets`| Storage for NETBOOT.XYZ bootable assets (live CDs and other files) |
96
127
97
128
## Environment variables from files (Docker secrets)
98
129
@@ -106,6 +137,19 @@ As an example:
106
137
107
138
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
108
139
140
+
## User / Group Identifiers
141
+
142
+
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
143
+
144
+
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
145
+
146
+
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
0 commit comments