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
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,11 +189,13 @@ It is possible to install extra packages during container start using [universal
189
189
- INSTALL_PACKAGES=libfuse2|git|gdb
190
190
```
191
191
192
-
193
192
## Usage
194
193
195
194
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
196
195
196
+
>[!NOTE]
197
+
>Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
198
+
197
199
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
198
200
199
201
```yaml
@@ -202,6 +204,8 @@ services:
202
204
mysql-workbench:
203
205
image: lscr.io/linuxserver/mysql-workbench:latest
204
206
container_name: mysql-workbench
207
+
cap_add:
208
+
- IPC_LOCK
205
209
environment:
206
210
- PUID=1000
207
211
- PGID=1000
@@ -211,8 +215,6 @@ services:
211
215
ports:
212
216
- 3000:3000
213
217
- 3001:3001
214
-
cap_add:
215
-
- IPC_LOCK
216
218
restart: unless-stopped
217
219
```
218
220
@@ -221,13 +223,13 @@ services:
221
223
```bash
222
224
docker run -d \
223
225
--name=mysql-workbench \
226
+
--cap-add=IPC_LOCK \
224
227
-e PUID=1000 \
225
228
-e PGID=1000 \
226
229
-e TZ=Etc/UTC \
227
230
-p 3000:3000 \
228
231
-p 3001:3001 \
229
232
-v /path/to/config:/config \
230
-
--cap-add="IPC_LOCK" \
231
233
--restart unless-stopped \
232
234
lscr.io/linuxserver/mysql-workbench:latest
233
235
```
@@ -238,13 +240,17 @@ Containers are configured using parameters passed at runtime (such as those abov
238
240
239
241
| Parameter | Function |
240
242
| :----: | --- |
241
-
|`-p 3000`| Mysql Workbench desktop gui. |
242
-
|`-p 3001`| Mysql Workbench desktop gui HTTPS. |
243
+
|`-p 3000:3000`| Mysql Workbench desktop gui. |
244
+
|`-p 3001:3001`| Mysql Workbench desktop gui HTTPS. |
243
245
|`-e PUID=1000`| for UserID - see below for explanation |
244
246
|`-e PGID=1000`| for GroupID - see below for explanation |
245
247
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
246
248
|`-v /config`| Users home directory in the container, stores program settings. |
247
-
|`--cap-add=`| Required for keyring functionality |
249
+
|`--cap-add=IPC_LOCK`| Required for keyring functionality. |
250
+
251
+
### Portainer notice
252
+
253
+
This image utilises `cap_add` or `sysctl` to work properly. This is not implemented properly in some versions of Portainer, thus this image may not work if deployed through Portainer.
248
254
249
255
## Environment variables from files (Docker secrets)
0 commit comments