4 ms·
docker run --rm -p 8080:80 -v "$(pwd):/usr/share/nginx/html:ro" nginx:alpine will host the current directory on 8080
by sltr 1y ago
docker run --rm -p 8080:80 -v "$(pwd):/usr/share/nginx/html:ro" nginx:alpine
will host the current directory on 8080
- fulafel 1y ago... open to the internet, adding an allow rule to the host firewall (at least on linux)