This is the simple file server through the browser.
You need to prepare the docker installed environment for this fileserver. Then you've already had that, you just run the command below.
docker run -itd -p <ANY PORT>:80 -v <VOLUME>:<TARGET DIR> tuimac/fileserver
When you run the above command, you need to define each configuration below.
Configuration Name | Detail |
---|---|
ANY PORT | This is the port you want to publish for this fileserver application. You can set any port you want except the port already reserved by the other application. |
VOLUME | You can mount to the directory on the OS or docker volume. |
TARGET DIR | You select the directory path you want to store the files within the fileserver container. |
That's it. Really easy.
I create Docker images for x86 and aarch64 environment by buildx. Here is the docker image repository.
- Kento Kashiwagi - tuimac
If you have some opinions and find bugs, please post here.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Edit file funciton.
- Display current directory function.