docker build -t nginx-upload:v1 . -f Dockerfiledocker run -d -p 80:80 -p 8080:8080 --name nginx-upload nginx-upload:v1your ip:8080 and you will see the nginx default web pagecurl your ip:80/upload -F "fileobj=@file path" to upload file
and you can see the upload file at docker container at the path /tmp/nginx_upload/Content type
Image
Digest
sha256:efeee327d…
Size
25.6 MB
Last updated
about 3 years ago
docker pull liujian3lj7/nginx_upload