macOS
Allow any source program to run
- Run
sudo spctl --master-disableinterminaland the password is the user login password - Upper left corner -
System Preferences-Security & Privacy-Security- CheckAny Source
Docker
New Material Design UI
Environment variables
| Field name | Value semantics | Default value |
|---|---|---|
| USER_ID | Current user ID of the host | 1000 |
| GROUP_ID | Current user group ID of the host | 1001 |
| NAME | Device name displayed on the web | Docker-MDC |
Volumes
| Volumes | Explanation |
|---|---|
| /config/.mdc | Configuration file directory |
| /data | Media data directory |
| /data/output | Media data output directory |
Warning
Soft/hard link files in Docker containers are not recommended
If you must use link files, make sure that when configuring volumes, the host directory and the container directory are exactly the same
Port
5800HTTP
Detailed tutorial
NAS system
Details
- Open
Container Managerto obtain themvdctop/mdc-gui-liteimage
Ports
- Map port HTTP 5800

Environment variables

| fnOS | Synology DSM | Linux distributions | |
|---|---|---|---|
| USER_ID | 1000 | 1026 | 1000 |
| GROUP_ID | 1001 | 100 | 1000 |

- Click
-to remove the empty value of the environment variable
Volumes
Create a new folder in the host machine. This directory is used to map the container directory
/config(required)
In the container page, right-click details and edit volume

After running, enter port 5800 in the browser
http://192.168.1.2:5800
Ordinary Linux distribution
Details
It is recommended to add the current user to the Docker user group first. Please Google for details to avoid directory permission problems caused by sudo operation
Pull Docker image
docker pull mvdctop/mdc-gui-lite
mkdir -p config data data/output
Place the test video, or you can use a real video file
This command is to create a blank test file
touch ./data/Resident Evil.2002.mp4
Run the container
shell
docker run \
--rm \
--name mdc-gui-lite \
-p 5800:5800 \
-v ${PWD}/data:/data \
-v ${PWD}/output:/data/output \
-v ${PWD}/config:/config/.mdc \
-e USER_ID=$(id -u) \
-e GROUP_ID=$(id -g) \
-e NAME=Docker-MDC \
mvdctop/mdc-gui-lite
docker-compose
Save as docker-compose.yml in current directory
version: '3.8'
services:
mdc-gui-lite:
image: mvdctop/mdc-gui-lite
container_name: Docker-MDC-GUI-Lite
ports:
- "5800:5800"
volumes:
- ./data:/data
- ./output:/data/output
- ./config:/config/.mdc
environment:
- USER_ID=${USER_ID}
- GROUP_ID=${GROUP_ID}
- NAME=Docker-MDC
Linux Commands
mkdir -p config data data/output
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
docker-compose up
Enter port 5800 in the browser
http://192.168.1.2:5800