Using Docker on Windows

If Docker is not installed, please install the Docker client here.

https://docs.docker.com/desktop/install/windows-install/

Download the latest Docker image;

    1. In the start menu, start the docker desktop program;
    1. Press Win + R, then enter cmd to open the command prompt;
    1. Then copy this command:
docker pull mtphotos/mt-photos:latest
    1. In the command prompt, press the right mouse button to paste. After the paste is completed, press Enter and wait for the image to be downloaded;

Download image

If the download mirror is slow, you can add mirror acceleration: https://yeasy.gitbook.io/docker_practice/install/mirror

Create container

Created using docker desktop

    1. Wait for the command prompt prompt image download to complete;
    1. After the download is complete, go back to the docker desktop program and click Images on the left
    1. Find mtphotos/mt-photos in imgaes;
    1. Move the mouse up and click the Run button on the right;

Download completed

    1. Click Optional Setting in the pop-up window to open the configuration interface;

Expand configuration

    1. Add Container Name, Port Mapping(Ports), Directory Mapping(Volumes), Environment Variables(Environment variables) in sequence

Container Configuration

Create using the command line

If you are interested in command-line properties, you can enter the following command at a command prompt to create a container:

   
docker run -d -v /e/mt-photos/config:/config -v /e/mt-photos/upload:/upload -v /e/photos:/photos -p 8063:8063 -e TZ=Asia/ Shanghai --name mt-photos mt-photos:latest
   

where /e/mt-photos/config corresponds to the E:\mt-photos\config folder in Windows

Note: Do not have newlines in the above command

After the creation is complete, you can see the mt-photos container in the Containers of the docker desktop program;

Access the web page

After waiting for the container to start successfully, use a browser to open the address: http://127.0.0.1:8063/ to access the installation wizard and start the initial configuration.

127.0.0.1 is the IP of the machine, 8063 is the mapped port number, please replace it according to the actual situation

Copyright © 2025 杭州相册家科技有限公司 All Rights Reserved

隐私协议软件许可及服务协议

浙公网安备 33019202000625号浙ICP备2022014580号